Errors

Understand the error formats and HTTP status codes returned by the API.

HTTP Status Codes

hexCore uses conventional HTTP response codes to indicate the success or failure of an API request. Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a charge failed, etc.). Codes in the 5xx range indicate an error with hexCore's servers.

CodeMeaning
400Bad Request - Often missing a required parameter.
401Unauthorized - No valid API key provided.
404Not Found - The requested resource doesn't exist.
429Too Many Requests - Rate limit exceeded.
500Server Error - Something went wrong on our end.