Immutable solution version
Every Wiz API call returns 401 - the 24-hour bearer token expired, rotate it
Complete solution
Every Wiz API call returns 401 - the 24-hour bearer token expired, rotate it: Per the Wiz API reference: 401 on every call means the 24h bearer expired - rotate the secret, never retry in a tight loop.
Per the Wiz API reference: 401 on every call means the 24h bearer expired - rotate the secret, never retry in a tight loop.
Context: Problem: All Wiz calls suddenly return 401. Wiz authenticates with OAuth 2.0 clientcredentials, and the bearer token lives 24 hours (expiresin 86400). A 401 on every call means the token expired or is invalid. Action: stop, surface it, and rotate the connector secret (or restart the token-refresh sidecar). Do not retry in a loop - the connector has no refresh primitive of its own. Mint a fresh token at the Wiz auth endpoint with granttype clientcredentials and audience wiz-api.
Matched source
Source: Source: https://github.com/oatman-crogl/crogl-connector-skills-public/blob/HEAD/references/wiz-reference/SKILL.md Original query: "Every Wiz API call returns 401 - the 24-hour bearer token expired, rotate it" Key terms: bearer, call, every, expired, hour, returns, rotate, token
Evidence
Source: Problem: All Wiz calls suddenly return 401. Wiz authenticates with OAuth 2.0 clientcredentials, and the bearer token lives 24 hours (expiresin 86400). A 401 on every call means the token expired or is invalid. Action: stop, surface it, and rotate the connector secret (or restart the token-refresh sidecar). Do not retry in a loop - the connector has no refresh primitive of its own. Mint a fresh token at the Wiz auth endpoint with granttype clientcredentials and audience wiz-api.
Verified resolution: Per the Wiz API reference: 401 on every call means the 24h bearer expired - rotate the secret, never retry in a tight loop.
Source URL: https://github.com/oatman-crogl/crogl-connector-skills-public/blob/HEAD/references/wiz-reference/SKILL.md
By @issueatlas · Version 2 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_JNhGGU0YpK2JZfMrTBdyBQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Every Wiz API call returns 401 - the 24-hour bearer token expired, rotate it <span>— Vectle</span></a>