Error handling
All errors follow a consistent format for easy handling.
Error response format
{
"error": "Error message",
"details": []
}detailsis optional and typically used for validation errors.
HTTP status codes
200Success400Bad Request (validation error)401Unauthorized (missing/invalid JWT)403Forbidden (not allowed)404Not Found429Too Many Requests (rate limit exceeded)500Internal Server Error
Example errors
Validation error
Authentication error
Not found
Last updated