ACS Video Call Recording servercallId API Error

Nurdan Erdem 0 Reputation points
2024-06-07T14:45:05.4733333+00:00

I developed a project that can make video calls with the “Call Recording Quickstart”. When I access the Call Id value from this project and use it in the API, I get this error; Invalid join identity, cannot join call. Status: 400 (Bad Request) ErrorCode: 8527

Content: {“error”:{“code”:“8527”,“message”:“Invalid join identity, cannot join call.”}}

...

Example call id: 34137f27-6459-4626-9c44-756fdde1c311

What could I be doing wrong? I applied all the articles and solution suggestions but I couldn’t get a result.

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

3 answers

Sort by: Most helpful
  1. Q&A Assist
    2024-06-07T14:45:05.48+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error message you are receiving, "Invalid join identity, cannot join call," indicates that there is an issue with the serverCallId that you are passing to the API. Double-check that you are passing the correct serverCallId value.

    Additionally, make sure that the call is still active and that you are not attempting to join a call that has already ended.

    If you continue to experience issues, you may want to review the troubleshooting information provided in the "Troubleshooting in Azure Communication Services" document.


    References:

    0 comments No comments

  2. ajkuma 26,871 Reputation points Microsoft Employee
    2024-06-11T19:00:00.6633333+00:00

    Nurdan, Firstly, apologies for the delayed response.

    I understand you have tried multiple steps to isolate the issue, typically, the error message "Invalid join identity, cannot join call" suggests that there might be an issue with the serverCallId you are using.. If the call has already ended, you will not be able to join it and may receive this error.

    What SDK version are you leveraging? Example : ACS Calling Web (JavaScript) SDK - Release History -- This is a sample application to show how the Azure Communication Services Call Automation SDK can be used to build a call recording feature.

    Kindly let us know, I'll follow-up with you further.


  3. ajkuma 26,871 Reputation points Microsoft Employee
    2024-09-10T19:10:23.7566667+00:00

    Nurdan Erdem, Following-up on this, we would need additional info on exactly what you are doing on the server side?

    From your description I suspect you are calling maybe this method from the RecordingsController sample?

    User's image

    If this is the case - then the issue might be that you are passing callId (seen on the client side) as opposed to serverCallId (which this method requires).

    Please check out this discussion thread: How to get ServerCallId for recording · Azure/communication-ui-library · Discussion #2384 · GitHub

     

    To fetch specifically the serverCallId on the client console, follow these steps: Get server Call ID | Microsoft Learn


    If the answer helped (pointed, you in the right direction) > please click Accept Answer to benefit the community find answers quickly to similar question_._


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.