Symptom-first triage for common Seller API integration failures. For the full code catalog, see Error reference.
What this covers#
Decision trees for auth failures, empty catalog, inventory conflicts,
idempotency mismatches, and webhook signature errors. Always capture
X-Request-Id, your orderReference, and the error code before escalating.
401 / 403 authentication and authorization#
Checks#
- Secret is the raw token; your client adds
Authorization: Bearer …. - GET /whoami returns the environment and scopes you expect.
- If you configured an IP allowlist, your egress must match — IP allowlist.
- Sandbox vs production: same host, different keys — Environments.
Empty catalog#
- Production keys do not see sandbox magic SKUs.
- Shared SKUs without allocation
sellable: trueare not checkout-ready — Sellable SKU readiness.
409 NO_AVAILABLE_KEYS#
Vendor inventory cannot fulfil the commit. Refund at your payment processor if you already charged — Avrix never auto-refunds your PSP.
When the shortfall is your own allocation cap rather than vendor stock, the code is
ALLOCATION_EXCEEDED instead — details.remainingInAllocation gives your headroom; request a
larger allocation from the publisher rather than waiting for stock.
- Confirm preview
canFulfillimmediately before charge. - Reduce races with Checkout holds or hot-drop where applicable.
- Retry only when stock returns (NO_AVAILABLE_KEYS) or after the allocation is raised (ALLOCATION_EXCEEDED).
IDEMPOTENCY_KEY_MISMATCH#
You reused an Idempotency-Key with a different body.
- For retries of the same logical order, send the identical payload and key.
- For a new order, generate a new idempotency key.
- See Idempotency.
Webhook signature failures#
- Parse JSON after HMAC succeeds.
- Rotate secrets with overlap — Secrets and config.
- Details: Webhooks.
Still stuck?#
- Reproduce with GET /whoami and a minimal curl against the failing route.
- Collect
requestId, timestamp,orderReference, and error payload. - Follow recovery actions in Error reference.
- Escalate via Monitoring and support.
Next steps#
- Key recovery runbook — lost key material, step by step
- Partner runbook — operational checks
- Testing — sandbox fixtures and contract tests
- FAQ — short conceptual answers