The ServerError exceptions occur when there is a communication issue between the Client SDK and the Communications APIs platform over the HTTP protocol. These errors correspond to the HTTP response codes defined in RFC2616. The most common are 4xx and 5xx errors:

  • 401 Unauthorized: occurs when the application tries to use an invalid token for the token authentication. Check if you have provided a valid token to the initializeToken API call and the refreshToken callback.

  • 404 Not Found: occurs when the client tries to access a conference that has already been destroyed in the platform.

  • 500 Internal Server Error: occurs when the platform encounters an error. Escalate this problem to the Communications API platform support team.

Each error includes a specific HTTP code and a possible reason for the error.