skip to Main Content

I am following this link to integrate Agora Chat SDK using Client API
https://docs.agora.io/en/agora-chat/client-api/messages/retrieve-messages?platform=web
but it’s not returning a list. I have created 2 users and all is working fine like both users can chat but we refresh the page the agora isn’t returning a chat list.

2

Answers


  1. Chosen as BEST ANSWER

    Issue is resolved now after contact agora support they told me to add toLowerCase() with the user in open connection call E.g.

    WebIM.conn.open(
    {
          user: username.toLowerCase(),
          agoraToken: token,
    });
    

  2. There is a small tip in doc:
    Retrieve a list of conversations from the server

    As I know, they intend to be compatible with mixed upper-case issues

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search