Skip to main content

ErrorResponse Structure

The ErrorResponse is a JSON object that contains the following fields:
  • code: A string representing the error code. This field helps to identify the type of error.
  • message: A string that provides a human-readable description of the error.
  • details (optional): An optional array that provides additional context or information about the error, often with specific details related to the failed request.

Error Response

Invalid Request (400)

A request is invalid, often due to missing or incorrect parameters.

Not Found (404)

The requested resource could not be found.

Conflict (409)

There was a conflict when attempting to create or update a resource.

Internal Server Error (500)

An unexpected error occurred on the server while processing the request.

Common Error Codes

Below is a list of common error codes you may encounter in the API responses: