Skip to main content

Error Format

Error Response

{
"status": 400,
"success": false,
"message": "Validation failed",
"errors": [
{ "field": "start_time", "message": "start_time must be in the future" }
],
"timestamp": "2025-01-15T10:00:00.000Z"
}

HTTP Status Codes

CodeMeaning
200Success
201Created
400Bad request / validation error
401Unauthorized (invalid or missing token)
403Forbidden (insufficient permissions)
404Resource not found
409Conflict (e.g., double booking)
422Unprocessable entity
429Rate limit exceeded
500Internal server error

Next Steps