Errors and recovery
The v2 API returns OAuth error bodies for OAuth flows and structured error envelopes for v2 resource requests.Error shapes
- OAuth
- v2 API
OAuth endpoints return
error and error_description.Response
Common status codes
Recovery playbooks
A write request returns 403
A write request returns 403
Confirm that the developer application has the write scope for that resource. Then confirm the token request included that scope if you are using bearer tokens.
A product create request returns 400
A product create request returns 400
Check that the request includes
name and at least one entry in variations. Verify field names use snake_case and enum values match the API reference.A resource lookup returns 404
A resource lookup returns 404
The ID may belong to another tenant, may be archived outside the active view, or may not exist. Re-list the resource with the relevant filters before retrying.
An archive request returns 409
An archive request returns 409
A product variation archive can conflict with current product state. Re-read the product and archive records in the order required by your workflow.