Pricing error codes
Every public API error code emitted by Pricing, with its HTTP status, its type and a page per code.
Error codes emitted by Pricing. Each code links to its own page with the cause and the action to take.
| Code | Type | HTTP | Description |
|---|---|---|---|
duplicate_price_list_name | invalid_request_error | 422 | Another price list in the company already uses that name, which must be unique within the tenant. |
inactive_price_list | invalid_request_error | 422 | The price list is inactive and may only be read to explain historical documents, not selected for a new operation. |
invalid_price_list_item | invalid_request_error | 422 | The price-list entry has an incompatible target, amount or unit, or duplicates the same product, variant and presentation within the list. |
price_list_in_use | invalid_request_error | 422 | The price list is assigned to clients or drafts, and deleting it would leave those price references without their source. |
price_list_not_found | not_found_error | 404 | The identifier does not resolve to any price list of the authenticated company. |
Related
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.