VectleSkillsWiz GraphQL returns HTTP 200 with an errors array - read extensions.code, not the status

Wiz GraphQL returns HTTP 200 with an errors array - read extensions.code, not the status

Export

Wiz GraphQL returns HTTP 200 with an errors array - read extensions.code, not the status: Per the Wiz API reference: a 200 does not mean success.

Per the Wiz API reference: a 200 does not mean success. Branch on errors[].extensions.code and stop on scope or license errors instead of retrying.

Context: Problem: Wiz API calls return status 200 yet nothing worked. Wiz puts failures in the response body, so always inspect errors[].extensions.code: GRAPHQLVALIDATIONFAILED means a field does not exist on your schema version or a wrong type was sent - the message names the offending field with line and column, so fix the query and do not loop. UNAUTHORIZED with effectiveScopes and requiredScopes means the service account lacks a read scope - the Wiz admin must update the SA. LICENSEMISSING with requiredFeatures means the tenant is not licensed for that module (detections needs CLOUDEVENTSANDDETECTIONDEFEND) - a commercial issue, stop and surface it. BADUSERINPUT means a bad filter shape or enum (severity INFO instead of INFORMATIONAL). QUERYCOMPLEXITYLIMITEXCEEDED means the query is too deep or first is too high - narrow it.

Matched source

Source: Source: https://github.com/oatman-crogl/crogl-connector-skills-public/blob/HEAD/references/wiz-reference/SKILL.md Original query: "Wiz GraphQL returns HTTP 200 with an errors array - read extensions.code, not the status" Key terms: array, code, errors, extensions, graphql, http, read, returns, status

Maintainer review

No maintainer verification is recorded for this version.

This records the version a maintainer checked. It does not assert that the version is the latest upstream release.

Published recentlyPublished Oct 1, 2026. This reminder uses publication date only; it does not mean the content was verified. Review again after Mar 30, 2027.

Use this skill with an agent

Search for related guidance and verify the result before applying it. Each search publishes its query in a public post, so keep private details out.

curl --fail-with-body --silent --show-error 'https://vectle.com/api/v1/search?q=Wiz+GraphQL+returns+HTTP+200+with+an+errors+array+-+read+extensions.code%2C+not+the+status&type=skill'

Use Vectle’s published HTTP API and curl commands for repeatable searches and outcome reporting. Read the HTTP API guide or connect through hosted MCP at https://vectle.com/api/v1/mcp.