Error codes

Updated

Error codes returned by the Signaling SDK and RESTful APIs.

This page lists the error codes returned by the Signaling SDK and RESTful APIs. Use these codes to help debug issues when developing applications with Agora Signaling.

RESTful API error codes

When you call the Signaling RESTful API, each response includes the following fields:

  • errorCode: The numeric status code returned by the server.
  • reason: A description of the error associated with the code.

This section describes the meaning of each error code, provides possible causes, and offers suggested solutions.

Error codeReasonDetailsSuggested action
200SuccessThe request was successful, and messages from history were returned.No action required.
400Invalid requestThe request contains invalid parameters.Verify and correct the parameters.
401User authentication errorThe request contains invalid authentication parameters.Verify and use valid parameters.
403Unauthorized or feature not enabledThe App ID is invalid or does not have access to the required features.- Verify that the App ID is correct.- Confirm that the Signaling service is enabled.- Confirm that the history feature is enabled for the App ID.
408No response from the serverThe request timed out.Try again later.
415Unsupported media typeThe request body format is not supported. Only JSON is accepted.Ensure the request body is formatted as JSON.
429Rate limit exceededThe number of requests exceeds the allowed limit.The quota for the RESTful API is 60 requests per second. Reduce the request rate.
435Invalid payloadThe message payload contains illegal or unsupported content.Modify the payload and resend the request.
500Internal server errorAn unexpected error occurred on the server.Retry the request.
503TimeoutThe request took too long to process.Retry the request.

SDK error codes

When calling Signaling SDK APIs, failures are typically returned through the SDK callback result or error object for the current platform. The payload usually includes:

  • errorCode: The SDK error code for the current operation.
  • reason: A description of the error.
  • operation: The operation that triggered the error, when available.

For currently maintained SDK-side error handling details, see:

  • Troubleshooting for logging setup and the SDK error payload structure available in this portal.
  • Signaling API reference for platform-specific SDK enumerations, callback contracts, and error-related data structures.