faq HTTP 401 Unauthorized from TypeSafe API or Gateway when calling System One / jev. Updated Sep 20, 2026
API returns 401
Unauthorized usually means missing/invalid TYPESAFE_API_KEY, wrong auth header, or calling the wrong host.
401 Unauthorized almost always means auth never succeeded: missing/invalid TYPESAFE_API_KEY, wrong header shape, wrong host, or Gateway credentials when you meant direct API (or the reverse).
Create or rotate keys in the TypeSafe console. This unofficial site does not issue keys or free credits.