---
title: "ErrorResponse"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.cardzone.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ErrorResponse

Path: Cardzone B2B API

## Fields

- `error` (`ErrorResponse.error`; object, required)
  - `code` (`ErrorResponse.error.code`; string, required)
  - `message` (`ErrorResponse.error.message`; string, required)
  - `details` (`ErrorResponse.error.details`; unknown, optional) — Optional field-level validation details
  - `product_status` (`ErrorResponse.error.product_status`; string, optional) — Present on `404` product errors when the product exists but cannot be ordered: `out_of_stock` or `unavailable`, with the same meaning as the catalog `status`. Absent when the product id is unknown or deleted.
    - one of `"out_of_stock"`, `"unavailable"`


Source: https://docs.cardzone.ai/reference/schemas/ErrorResponse/index.md
