Skip to content

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

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.

Fix or leave out the variants listed in preflight, then retry.

{
"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?

Still stuck? Ask Quinn or chat with support