CallingCommunicationError: Failed to initialize CallClient

Chantal Kendall 0 Reputation points
2023-06-10T00:15:43.0833333+00:00
Getting Error:- CallingCommunicationError: Failed to initialize CallClient

 let callClient = new CallClient();
 let callAgent = await callClient.createCallAgent(new AzureCommunicationTokenCredential(userAccessToken));
Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
1,233 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 28,036 Reputation points Microsoft Employee Moderator
    2023-06-14T09:03:02.0266667+00:00

    While I'm checking on this, the same versions of Calling and Common SDKs works fine me, not experiencing issues to initialize callClient nor callAgent.

     "dependencies": {
    
        "@azure/communication-calling": "^1.13.1",	
    
        "@azure/communication-common": "^2.2.0"
    

    Also, for chat, with a valid access token ('chat' scope), able to send/receive messages according to Azure doc. I'll follow-up with you shortly. Thanks for your patience!


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.