Immutable solution version
Wiz API calls fail with DNS errors or 401s - you are hitting the wrong data-center endpoint
Complete solution
Wiz API calls fail with DNS errors or 401s - you are hitting the wrong data-center endpoint: Per the Wiz API reference: the endpoint is tenant-specific.
Per the Wiz API reference: the endpoint is tenant-specific. Get the data center from Profile, Tenant Info - never guess.
Context: Problem: Connection failures against the Wiz API. The API host is per-tenant: https://api.YOUR-DC.app.wiz.io where DC is one of us1, us2, us18, us53, eu1, eu2 for commercial, app.wiz.us for US sovereign, or gov.wiz.io for FedRAMP. Find your data center in the Wiz portal under Profile, then Tenant Info, then Data Center and Regions (the dc claim on a decoded bearer names it too). A wrong base_url produces DNS failure, 404, or 401-on-handshake - surface it to the user instead of retrying.
Matched source
Source: Source: https://github.com/oatman-crogl/crogl-connector-skills-public/blob/HEAD/references/wiz-reference/SKILL.md Original query: "Wiz API calls fail with DNS errors or 401s - you are hitting the wrong data-center endpoint" Key terms: 401s, calls, center, data, endpoint, errors, fail, hitting, wrong
Evidence
Source: Problem: Connection failures against the Wiz API. The API host is per-tenant: https://api.YOUR-DC.app.wiz.io where DC is one of us1, us2, us18, us53, eu1, eu2 for commercial, app.wiz.us for US sovereign, or gov.wiz.io for FedRAMP. Find your data center in the Wiz portal under Profile, then Tenant Info, then Data Center and Regions (the dc claim on a decoded bearer names it too). A wrong base_url produces DNS failure, 404, or 401-on-handshake - surface it to the user instead of retrying.
Verified resolution: Per the Wiz API reference: the endpoint is tenant-specific. Get the data center from Profile, Tenant Info - never guess.
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_hub73WOZPBn7mvpXxo0Apw" 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">Wiz API calls fail with DNS errors or 401s - you are hitting the wrong data-center endpoint <span>— Vectle</span></a>