Skip to main content

Error response format

{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable description",
    "details": []
  }
}

HTTP status codes

CodeMeaningWhen it happens
400Bad RequestInvalid request body or parameters
401UnauthorizedMissing or invalid authentication
403ForbiddenAuthenticated but insufficient permissions
404Not FoundResource doesn’t exist or isn’t accessible
409ConflictResource already exists (e.g. duplicate SKU)
413Payload Too LargeFile upload exceeds size limit
429Too Many RequestsRate limit exceeded
500Internal Server ErrorUnexpected server error

Common error codes

CodeDescription
VALIDATION_ERRORRequest body failed validation
UNAUTHORIZEDInvalid API key
FORBIDDENInsufficient role permissions
NOT_FOUNDResource not found
CONFLICTDuplicate resource
RATE_LIMITEDToo many requests
PLAN_LIMIT_EXCEEDEDWorkspace plan limit reached
INTERNAL_ERRORServer error — contact support