Errors & Status Codes
Understand and troubleshoot API errors.
Error Response Format
All errors return a consistent JSON structure:
{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error description",
"details": {
// Additional context (optional)
}
}
}HTTP Status Codes
OK
Request successful. Response body contains the requested data.
Created
Resource successfully created (e.g., new instance).
No Content
Request successful. No response body (e.g., instance deleted).
Bad Request
Invalid request parameters or malformed JSON.
Unauthorized
Missing or invalid API key.
Forbidden
API key lacks necessary permissions.
Not Found
Resource does not exist (e.g., invalid instance UUID).
Too Many Requests
Rate limit exceeded. See rate limits documentation.
Internal Server Error
Unexpected server error. Contact support if persists.
Common Error Codes
INVALID_REQUESTThe request parameters are invalid or incomplete.
UNAUTHORIZEDInvalid or missing API key.
RESOURCE_NOT_FOUNDThe requested resource (e.g., instance) does not exist.
QUOTA_EXCEEDEDYour organization has reached the instance limit.
RATE_LIMIT_EXCEEDEDToo many requests. Wait before retrying.
INTERNAL_ERRORAn unexpected error occurred. Contact support.