Factuarea API

Products error codes

Every public API error code emitted by Products, with its HTTP status, its type and a page per code.

Error codes emitted by Products. Each code links to its own page with the cause and the action to take.

CodeTypeHTTPDescription
pack_in_useinvalid_request_error422The pack is referenced by issued documents, so deleting it would break their composition.
pack_not_foundnot_found_error404The identifier does not resolve to any pack of the authenticated company.
pack_share_link_failedapi_error500The share link for the pack could not be produced. The pack itself is unaffected.
product_in_useinvalid_request_error422The product is referenced by issued documents or by other catalogue entries, and removing it would leave those references dangling.
product_not_foundnot_found_error404The identifier does not resolve to any product of the authenticated company.
sku_already_existsconflict_error409Another product of the company already uses that SKU, and the SKU identifies the item uniquely in the catalogue.

On this page