Error Codes

Reference for API error codes and how to handle them.

Error Response Format

{
  "success": false,
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": { ... }  // Optional additional info
  }
}

Error Codes

CodeHTTPDescription
INVALID_API_KEY401API key missing or invalid
EXPIRED_API_KEY401API key has expired
FORBIDDEN403Missing permission or access denied
NOT_FOUND404Resource not found
VALIDATION_ERROR422Invalid request data
RATE_LIMITED429Rate limit exceeded
INTERNAL_ERROR500Server error