Factuarea APIDevelopers

Storefront error codes

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

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

CodeTypeHTTPDescription
buyer_identity_incomplete_for_full_invoiceinvalid_request_error422The buyer asked for a full invoice without supplying enough tax identity and address, and a full invoice cannot be issued without the data the law requires on it.
link_expiredinvalid_request_error410The public link of that order has expired: its validity date is in the past.
link_revokedinvalid_request_error410The merchant switched off the public link of that order.
payment_provider_not_connectedinvalid_request_error422The shop has no usable payment gateway account to charge this order with.
sales_order_not_payableinvalid_request_error422That order admits no payment: it is already paid, it is cancelled, or it has already been invoiced.
storefront_key_not_foundnot_found_error404No publishable storefront credential of the authenticated company matches that identifier; the credential of another merchant answers exactly like one that never existed.
storefront_key_revokedauthentication_error401The publishable credential the buyer browser calls with was revoked, and a revoked credential never authenticates again: revoking is precisely how a leaked storefront credential is cut off.
storefront_origin_not_allowedauthentication_error401The credential is still valid, but the browser origin the request comes from is not among the ones granted to that credential. What is rejected is the domain, not the credential.
storefront_session_abandonedinvalid_request_error422The storefront abandoned that cart explicitly and the state is final.
storefront_session_already_convertedinvalid_request_error422That cart was already confirmed and became an order, so it admits no further change and no second confirmation.
storefront_session_expiredinvalid_request_error422The cart lifetime window elapsed. The amounts it held were resolved by the server back then and can no longer be taken as valid.
storefront_session_not_foundnot_found_error404No cart of this storefront matches that identifier: it does not exist, it belongs to another company or it was issued by another credential. All three answer alike, because the cart identifier is the only authorisation over it.

On this page

Need a hand?Contact support