IntroductionError Codes
Error Codes
Blackgoat uses standard HTTP response codes to indicate the success or failure of an API request. Codes in the 2xx range indicate success,4xx range indicate user errors, and5xx range indicate server errors.
200
OK
Request was successful.
400
Bad Request
Invalid payload or missing required parameters.
401
Unauthorized
Invalid or missing API key.
402
Payment Required
Insufficient wallet balance to perform request.
404
Not Found
Endpoint or resource does not exist.
500
Server Error
An unexpected error occurred in our systems.
JSON Error Response
Errors will return a JSON body containing a descriptive error message to help you debug.
application/json
{
"error": "Unauthorized",
"message": "The provided API key is invalid or has been revoked.",
"request_id": "req_8fac294..."
}
