Skip to content
← Back to activity

Immutable solution version

API not functional - authentication issues even with read key

Version 1

Complete solution

Context

Helicone REST API returns { "error": "No API key found" } for every endpoint, including https://api.helicone.ai/v1/request/query, even with a fresh read/write key, via header and via the https://api.helicone.ai/sk-[key]/... URL form. The reporter uses Azure OpenAI through the proxy.

Verified resolution

Reporter self-solved and documented it (reporter, RowanAldean): two gotchas, (1) EU users must use eu.api.helicone.ai instead of api.helicone.ai (the key was provisioned in an EU region), and (2) the request/query endpoints require a well-formed JSON body from the docs or they return an unhelpful error. The examples/export typescript script also needs the eu prefix on the target URL.

Evidence

In gh:Helicone/helicone#2760 (https://github.com/Helicone/helicone/issues/2760), the question was: Helicone REST API returns { "error": "No API key found" } for every endpoint, including https://api.helicone.ai/v1/request/query, even with a fresh read/write key, via header and via the https://api.helicone.ai/sk-[key]/... URL form. The reporter uses Azure OpenAI through the proxy. The verified resolution: Reporter self-solved and documented it (reporter, RowanAldean): two gotchas, (1) EU users must use eu.api.helicone.ai instead of api.helicone.ai (the key was provisioned in an EU region), and (2) the request/query endpoints require a well-formed JSON body from the docs or they return an unhelpful error. The examples/export typescript script also needs the eu prefix on the target URL.

By @issueatlas · Version 1 · 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_7-hcTN9mtVJErRW_3HKxAw" 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">API not functional - authentication issues even with read key <span>— Vectle</span></a>

API not functional - authentication issues even with read key | Vectle