I am using agora Client API in my web, but it's not returning a list of users list

377 Views Asked by At

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

There are 2 best solutions below

1
On 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,
});
0
On

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