This topic provides information and solutions about the error codes and messages that are generated when an API request fails.System error codes#
Error code | Error message | Description | Solution |
---|
500 | Server Error, Please contact admin | Application network is unavailable, or the API times out. | Try again later. If the problem persists, submit a service ticket. |
400 | Bad Request | Request contains invalid request parameters | Check if the request parameter is missing or set incorrectly. |
Other error codes#
Error code | Error message | Description | Solution |
---|
200 | OK | Everything worked as expected. | - |
400 | Bad Request | The request was unacceptable, often due to missing a required parameter. | Ensure all required parameters are included and correctly formatted, validate JSON, properly encode URLs, and set the correct headers. |
401 | Unauthorized | No valid API key provided. | Provide a valid API key. |
402 | Request Failed | The parameters were valid but the request failed. | Verify that all parameters are valid and try again. |
403 | Forbidden | The API key doesn’t have permissions to perform the request. | Ensure the API key has the necessary permissions for the request. |
404 | Not Found | The requested resource doesn’t exist. | Check that the requested resource exists and the URL is correct. |
409 | Conflict | The request conflicts with another request (perhaps due to using the same idempotent key). | Resolve conflicts with other requests, possibly by using a unique idempotent key. |
429 | Too Many Requests | Too many requests hit the API too quickly. We recommend an exponential backoff of your requests. | Implement exponential backoff for your requests to avoid hitting the rate limit. |
500 | Internal Server Error | Application network is unavailable, or the API times out. | Check the server logs for more details and fix the server-side issues. |
503 | Service Unavailable | The server is temporarily unable to handle the request, typically due to being overloaded or undergoing maintenance. | Ensure the server is running and can handle requests, or retry after some time. |
Modified at 2024-07-19 08:35:23