preflight_issues
The variants failed pre-flight checks
BetaAPI v2 is in public beta: endpoints, fields and behaviour can change before general availability. See the changelog
Last updated
API v2
stoqapp.comAbout STOQContactPrivacy policyHelp center
The variants failed pre-flight checks
Section titled “The variants failed pre-flight checks”Code: preflight_issues · HTTP status: usually 422
Some variants cannot be added to the offer as requested. The preflight field lists each one and why.
How to fix
Section titled “How to fix”Fix or leave out the variants listed in preflight, then retry.
Example response
Section titled “Example response”{ "code": "preflight_issues", "type": "https://docs.stoqapp.com/v2/docs/api-v2/errors/preflight-issues/", "title": "The variants failed pre-flight checks", "status": 422, "detail": "2 variants can't be added. Fix or leave out the variants listed in `preflight`, then retry.", "errors": [ "2 variants can't be added" ], "details": [ { "code": "preflight_issues", "message": "2 variants can't be added", "path": null, "value": null, "expected": null } ]}Every API v2 and MCP failure carries code and a type link to its page here. See Errors & Responses for the full envelope.
Was this page helpful?
Thanks for letting us know.
Still stuck? Ask Quinn or chat with support