Skip to main content

Error responses

All Flexprice API errors follow a consistent structure. Each error response includes:
  • success: Boolean flag indicating whether the request was successful (always false for errors)
  • error: Object containing error details with:
    • message: Human-readable description of the error
    • internal_error: Internal error details (may be empty for client errors)
Error responses may also include additional fields specific to the error type.

Common error types

The table below lists common error types. When processing errors programmatically, use the HTTP status code along with the error message.