Error Handling

Our API uses standard HTTP response codes to indicate the success or failure of a request. In addition to these codes, specific errors related to individual endpoints are documented separately on their respective pages. This general guide covers common HTTP status codes and error-handling best practices.

HTTP Status Codes

The following HTTP status codes are commonly used across our API:

Status CodeDescription
200 OKThe request was successful.
400 Bad RequestThe request was invalid or cannot be processed.
401 UnauthorizedAuthentication failed or the user does not have permissions.
404 Not FoundThe requested resource could not be found.
429 Too Many RequestsThe user has sent too many requests in a given amount of time.
500 Internal Server ErrorAn error occurred on the server.
504 Gateway TimeoutThe service is taking longer to respond.