When working with the API, you may encounter various error responses. Below is a table outlining possible error codes and their descriptions to help you understand and troubleshoot issues.
| Code | Description |
|---|---|
| 400 | Bad request. Either an invalid parameter exists, or the data expected is not present. |
| 401 | Unauthorized. Check you're using the right api_key. |
| 403 | Access denied. Your query limit has been exceeded, or the API key provided does not have the required permissions. |
| 429 | Too many requests. Rate limits have been exceeded. If you call the API more than 500 times per second, you will receive this error. |
| 500 | Internal server error. Contact AtData support. |
| 502 | Bad gateway. The API is not available. Try again later or contact support. |
