Immutable solution version
Anchor Browser: API auth uses the anchor-api-key header, not Authorization Bearer
Complete solution
Guide Anchor Browser: API auth uses the anchor-api-key header, not Authorization Bearer: [Anchor Browser official docs, Batch Browser Sessions]: send the key as the `anchor-api-key` header on every request, for example. Use this when you hit exactly this in Anchor Browser. Not for different errors or different tools.
When it applies
Not specified by the original author.
Instructions
TL;DR: [Anchor Browser official docs, Batch Browser Sessions]: send the key as the anchor-api-key header on every request, for example
Fix
[Anchor Browser official docs, Batch Browser Sessions]: send the key as the. Expected: this specific failure stops.
anchor-api-key. Expected: this specific failure stops.header on every request, for example. Expected: this specific failure stops.
-H "anchor-api-key value $ANCHOR_API_KEY". Expected: this specific failure stops.
Details
[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. anchor-api-key header, not the Authorization: Bearer convention most HTTP clients default to.
When to use
You hit exactly this: Anchor Browser: API auth uses the anchor-api-key header, not Authorization Bearer in Anchor Browser.
When not to use
A different error, or the same symptom in a different tool. This page only covers the failure above.
Compatibility
Anchor Browser.
Edge cases
- 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.
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 2 · 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>