Error Response Format
Errors follow RFC 7807 Problem Details format and use theapplication/problem+json content type:
Error Fields
URI reference identifying the problem type
Human-readable summary of the problem
Specific explanation for this error occurrence
URI reference to the specific occurrence (typically the request path)
HTTP Status Codes
Success Codes
- 200 OK - Request succeeded
- 201 Created - Resource successfully created
- 204 No Content - Request succeeded with no content to return
Client Error Codes
- 400 Bad Request - Invalid request format or parameters
- 401 Unauthorized - Missing or invalid authentication credentials
- 403 Forbidden - Insufficient permissions for this resource
- 404 Not Found - Resource doesn’t exist
- 422 Unprocessable Entity - Request contains semantic errors
- 429 Too Many Requests - Rate limit exceeded
Server Error Codes
- 500 Internal Server Error - Unexpected server error
- 503 Service Unavailable - API temporarily unavailable