Documentation
Errors & Status Codes

Errors

We try to follow a standard structure for returning errors back to you. Errors are categorized into 2 Categories

  • HTTP Exception : These errors are generated due to malformed request or limits being exceeded or any server side errors.
  • Schema Validation Error : These errors are returned when you have added schema to a document or a bucket and we fail to verify the document against the schema.

Following is the structure we follow

{
    "type":"HTTPException | ValidationError",
    "message":"<error-message>"
}

Status Codes

Status CodeMeaningDescription
200OKThe request has succeeded.
201CreatedThe request has been fulfilled and a new resource has been created.
400Bad RequestThe server cannot process the request due to a client error.
401UnauthorizedThe request requires user authentication.
403ForbiddenThe server understood the request but refuses to authorize it.
404Not FoundThe requested resource could not be found.
429Too Many RequestsThe user has sent too many requests in a given amount of time.
500Internal Server ErrorThe server encountered an unexpected condition.
503Service UnavailableThe server is currently unavailable due to maintenance or overload.