Skip to main content

Error handling

Common error scenarios and solutions:

Authentication Errors

  • 401 Unauthorized: Check your API key is correct and active
  • 403 Forbidden: Verify your account has the required permissions

Validation Errors

  • 400 Bad Request: Check required fields are provided and data types are correct
  • 422 Unprocessable Entity: Verify business logic constraints (e.g., event dates, ticket quantities)

Resource Errors

  • 404 Not Found: Ensure the resource ID exists and you have access
  • 409 Conflict: Resource state conflicts (e.g., trying to delete an event with orders)