Why are my API requests returning 401 Unauthorized?
Updated 20 August 2026·1 views
401 errors
Common causes:- Missing or invalid
X-API-Keyheader
- API key belongs to a different project than the one you''re calling (Hosted returns
403for this specifically)
- Key was revoked
Was this article helpful?