Errors
Gravv uses conventional HTTP response codes to indicate whether an API request succeeds or fails. Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error caused by the information provided. Codes in the 5xx range indicate a server error and occur rarely.
Some 4xx errors can be handled programmatically. Each error includes a code and a message that explains the issue.
Status code summary
| Status code | Error | Description |
|---|---|---|
| 200 | OK | Everything worked as expected. |
| 400 | Bad request | The request was unacceptable because it missed a required parameter. |
| 401 | Unauthorized | You either did not provide your Api-key (Secret Key), or the Api-key you provided was incorrect. |
| 404 | Not found | The requested resource doesn’t exist. One possible reason is an incorrect URL path. |
| 500 | Internal server error | An error occurred on Gravv's servers. These errors are rare and resolve automatically. |
Updated about 1 month ago
