communication > createChatThread error => com.azure.communication.chat.models.ChatErrorResponseException: Status code 401, (empty body)

2021-05-25T07:58:19.18+00:00

I want to know what the problem is.

99414-image.png

99415-image.png

99416-image.png

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
848 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 25,791 Reputation points Microsoft Employee
    2021-05-25T18:54:40.62+00:00

    @서영민 파트장 (Youngmin Seo, 徐榮敏) , Thanks for posting this question and sharing the screenshots.

    Just to confirm, are you referring to this tutorial for prerequisites and steps outlined on setting up chat?

    If you haven't checked this already, kindly ensure that the participants on the chatthread need to be valid users.
    Also, please confirm that you have replaced proper ids from the samples. E.g. And have it as- CommunicationUser user1= communicationIdentityClient.createUser()

    There are similar discussions on this, please see these:thread1 and thread2.

    I'm also discussing on this internally. Please let us know how it goes, I'll follow-up on this soon.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.