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 codeErrorDescription
200OKEverything worked as expected.
400Bad requestThe request was unacceptable because it missed a required parameter.
401UnauthorizedYou either did not provide your Api-key (Secret Key), or the Api-key you provided was incorrect.
404Not foundThe requested resource doesn’t exist. One possible reason is an incorrect URL path.
500Internal server errorAn error occurred on Gravv's servers. These errors are rare and resolve automatically.