Error Reference

HTTP Status Codes

StatusMeaningCommon recovery
400Bad requestCheck the request body and required fields
401UnauthorizedAdd or rotate the bearer token/API key
403ForbiddenUse a key with the right scope
404Not foundConfirm the route and resource ID
409ConflictCheck for duplicate names or already-bound resources
429Rate limitedBack off and retry later
500Server errorRetry with backoff; report persistent failures

Error Body

Most Django REST Framework errors include a detail field:

{
  "detail": "Authentication credentials were not provided."
}

Validation errors may be field-shaped:

{
  "name": ["This field is required."]
}

Route Checks

If a request returns 404, confirm the endpoint in API Endpoints or the generated OpenAPI document:

https://docs.ravi.app/openapi.json

API calls should use https://api.ravi.app. Documentation and machine-readable reference files are served from https://docs.ravi.app.

See Also