Skip to Content
Documentation Sections

Search guides, the API reference, Help Center and FAQ.

Why is my API call getting a 401?

Download Markdown

Check the exact operation's authentication and required scope. A missing, malformed, expired, revoked or insufficiently scoped credential can be refused without revealing which check failed. A 401 alone does not prove the token is

Check the exact operation's authentication and required scope. A missing, malformed, expired, revoked or insufficiently scoped credential can be refused without revealing which check failed. A 401 alone does not prove the token is simply mistyped.

Send the actual credential through the documented Authorization header, never a URL. Confirm you copied the credential rather than the Client ID or an example value.

An MCP connection also needs a host that can send the supported credential header. Tool discovery and execution permissions are separate. See Connect an AI Agent and the operation-specific API Reference.

Related Articles