2020 API AWARDS WINNER - BEST IN MEDIA APIs LEARN MORE

ServerError

The ServerError exceptions occur when there is a communication issue between the Client SDK and the Dolby Interactivity 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 Dolby Interactivity API platform support team.

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

Constructors

constructor

+ new ServerError(error: any): ServerError

Parameters:

NameTypeDescription
erroranyThe original HTTP response codes defined in RFC2616

Returns: ServerError

Properties

Static Error

Error: ErrorConstructor