PROBLEM TYPES
Every refusal, and what to do about it.
When the API refuses something, the response carries a machine-readable body with a
type address in it. That address is a page on this site, and this is the
list of them. Each one states the rule, names the likely cause, and says what to do.
There are 52, generated from the same registry the API answers from.
The request itself
The value sent was not the shape the endpoint accepts. Nothing was written.
Signing in and permissions
Who you are, which organisation you are acting for, and what your role allows.
- FORBIDDEN Your role does not permit this 403
- INVITE_EMAIL_MISMATCH That invitation was sent to a different email address 403
- INVITE_EXPIRED That invitation has expired 409
- LAST_OWNER An organisation needs at least one owner 409
- NOT_A_MEMBER You are not a member of this organisation 403
- NOT_FOUND Not found 404
- ORG_NOT_SPECIFIED Name the organization this request is for 400
- RATE_LIMITED Too many requests for this API key 429
- UNAUTHENTICATED Sign in to continue 401
Prefixes and claims
A GTIN identifies one product globally, so claiming one is a decision with somebody else on the other side of it.
Your own address
Claiming a hostname for your codes to answer on. A hostname is unique across everyone we serve, and a claim outlives its removal — codes printed against an address stay in the field long after anyone stops using it.
Your catalogue
Products, SKUs, spreadsheet imports and the states a product or an import moves between.
- DUPLICATE_GTIN You already have a product on that GTIN 409
- DUPLICATE_SKU That SKU is already used in this organisation 409
- IMPORT_IDEMPOTENCY_MISMATCH That idempotency key was used for a different file 409
- IMPORT_INVALID_STATE_TRANSITION An import cannot move to that state 409
- IMPORT_MAPPING_BATCH_DATE_NO_LOT That mapping has a batch date and no batch lot 400
- IMPORT_MAPPING_NO_GTIN That mapping has no column for the GTIN 400
- IMPORT_TEMPLATE_NAME_TAKEN That template name is already used in this organisation 409
- INVALID_STATE_TRANSITION A product cannot move to that state 409
Printing and artwork
The only refusals in the product that stop you outright. Everything else warns and lets you carry on — these five are the ones that cannot be undone once labels exist.
- DOMAIN_NEVER_LIVE This domain has never answered a request 409
- PRODUCT_ARCHIVED This product is archived 409
- PRODUCT_DRAFT This product is not published yet 409
- PRODUCT_TOMBSTONED This product has been permanently retired 409
- XDIM_BELOW_MINIMUM That module width is below the minimum for the chosen application 409
Links and resolution
Every rule here is one that makes a linkset conformant. They are refused when a link is created, because after printing they are refused by a phone.
- DEFAULT_NEEDS_TITLE A default link needs a title 400
- DEFAULT_SLOT_OCCUPIED This grain already has a default link 409
- DEFAULT_SLOT_REQUIRED This GTIN would be left with nowhere for plain scans to go 409
- LINK_LIMIT_REACHED This GTIN has reached its link limit 409
- LINK_TYPE_NOT_ASSIGNABLE That link type cannot hold a default slot 400
- PUBLISH_NEEDS_DEFAULT A published GTIN needs a destination for plain scans 409
- REORDER_SET_MISMATCH A reorder must name every link for this GTIN 400
- UNKNOWN_LINK_TYPE That is not a GS1 link type 400
Recall notices
Every refusal in this section is about the scope of a notice. None of them refuses the safety action itself, on any plan, in any billing state.
- DEFAULT_IN_RECALL_SCOPE That grain is inside an active recall's scope 409
- RECALL_ALREADY_ACTIVE This GTIN already has an active recall 409
- RECALL_HEAD_ORDER Recall links must stay at the head 409
- RECALL_LINK_LOCKED That link belongs to an active recall 409
- RECALL_NOT_ACTIVE That recall is no longer active 409
- RECALL_SCOPE_NARROWED A recall's scope can only widen 409
- RECALL_SCOPE_TOO_WIDE That many lots will not fit in one entry 409
Your plan
Paying for a plan and changing it. None of these touches a printed code: codes keep resolving on every plan, including cancelled.
Everything else
The two answers that carry no more specific meaning.