> For the complete documentation index, see [llms.txt](https://apidocs.tradebit.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.tradebit.io/api-reference/errors-codes.md).

# Errors Codes

API error codes are used to communicate specific information about the status and outcome of an API request. They help developers and clients understand what went wrong and why.

## Errors Codes

* <mark style="color:blue;">**200 OK :**</mark> The request was successful, and the server has returned the requested data.
* <mark style="color:blue;">**201 Created :**</mark> The request was successful, and a new resource was created.
* <mark style="color:blue;">**204 No Content :**</mark> The request was successful, but there is no data to return .
* <mark style="color:blue;">**400 Bad Request :**</mark> The request was malformed or contains invalid parameters.
* <mark style="color:blue;">**401 Unauthorized :**</mark> The request requires authentication, and the credentials provided are not valid.
* <mark style="color:blue;">**403 Forbidden :**</mark> The client does not have permission to access the requested resource.
* <mark style="color:blue;">**404 Not Found :**</mark> The requested resource could not be found on the server.
* <mark style="color:blue;">**405 Method Not Allowed :**</mark> The HTTP method (GET, POST, PUT, DELETE, etc.) used in the request is not allowed for the given resource.
* <mark style="color:blue;">**500 Internal Server Error :**</mark> An unexpected error occurred on the server.
* <mark style="color:blue;">**502 Bad Gateway :**</mark> The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.
