This page introduces the error codes or warning codes that may be returned by the Agora RTSA SDK when calling APIs or during runtime, helping you to identify the root causes of the errors.
When an API fails, the Agora RTSA SDK returns a value that is smaller than 0.
The return value -1 indicates that the error comes from the Linux system. For details, see Linux System Errors.
Error codes | Return value | Description |
---|---|---|
ERRNO_NOT_IMPLEMENTD | -1001 | This function is not implemented. |
Error codes | Return value | Description |
---|---|---|
LICENSE_JSON_ERR_NOMEM | -2 | Not enough memory. |
LICENSE_JSON_ERR_INVAL | -3 | Invalid character in the JSON string. |
LICENSE_JSON_ERR_PART | -4 | The JSON string is not complete. |
LICENSE_JSON_ERR | -5 | Other errors related to the JSON string. |
LICENSE_ERR_CERT_RAW | -6 | The value or size of cert is not valid. |
LICENSE_ERR_CUSTOM | -7 | custom can not be found. |
LICENSE_ERR_CREDENTIAL | -8 | Invalid credential . |
LICENSE_ERR_DUEDATE | -9 | The license expires. |
LICENSE_ERR_SIGN | -10 | Invalid signature. |
LICENSE_ERR_BUF | -11 | Buffer overflow. |
LICENSE_ERR_NULL | -12 | The cert parameter is null. |
LICENSE_ERR | -13 | Unknown errors. |
To identify the root causes of the warning codes reported by the on_warning callback, see Warning Codes of the Agora Native SDK.
To identify the root causes of the error codes reported by the on_error callback, see Error Codes of the Agora Native SDK.