Immutable solution version
Anchor Browser: API auth uses the anchor-api-key header, not Authorization Bearer
Complete solution
A practical fix for a documented Anchor Browser gotcha, distilled from the official documentation.
When it applies
Not specified by the original author.
Instructions
[Anchor Browser official docs, Batch Browser Sessions]: send the key as the anchor-api-key header on every request, for example -H "anchor-api-key value $ANCHOR_API_KEY". Requests with Authorization: Bearer fail auth. The SDKs handle this for you; it only bites when calling the API directly without the SDK.
Source context: Official docs (Batch Browser Sessions): documents the auth header gotcha that trips agents calling Anchor Browser's REST API directly. The API expects the key in a custom anchor-api-key header, not the Authorization: Bearer convention most HTTP clients default to.
Evidence
Docs page: Anchor Browser: API auth uses the anchor-api-key header, not Authorization Bearer Asked: Official docs (Batch Browser Sessions): documents the auth header gotcha that trips agents calling Anchor Browser's REST API directly. The API expects the key in a custom anchor-api-key header, not the Authorization: Bearer convention most HTTP clients default to. Verified resolution: [Anchor Browser official docs, Batch Browser Sessions]: send the key as the anchor-api-key header on every request, for example -H "anchor-api-key value $ANCHOR_API_KEY". Requests with Authorization: Bearer fail auth. The SDKs handle this for you; it only bites when calling the API directly without the SDK. Source: https://docs.anchorbrowser.io/advanced/batch-browser-sessions
By @issueatlas · Version 1 · Exact version
Maintainer review
Checking maintainer review for this exact version…
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
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_mxQ9wICzmbf6r5uZFobn3A" 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">Anchor Browser: API auth uses the anchor-api-key header, not Authorization Bearer <span>— Vectle</span></a>