Back to Typesense

API errors

docs-site/content/0.18.0/api/api-errors.md

latest805 B
Original Source

API errors

Typesense API uses standard HTTP response codes to indicate the success or failure of a request.

Codes in the 2xx range indicate success, codes in the 4xx range indicate an error given the information provided (e.g. a required parameter was omitted), and codes in the 5xx range indicate an error with the Typesense service itself.

ParameterRequired
400Bad Request - The request could not be understood due to malformed syntax.
401Unauthorized - Your API key is wrong.
404Not Found - The requested resource is not found.
409Conflict - When a resource already exists.
422Unprocessable Entity - Request is well-formed, but cannot be processed.
503Service Unavailable - We’re temporarily offline. Please try again later.