Skip to main content
HTTP status: 400

Error message

When this error occurs

GET /mcp-connections/callback received a state that doesn’t match a pending authorization flow — the flow expired, was already completed, or the value is malformed. Authorization flows are short-lived and single-use.

How to fix

Restart the connection: call POST /mcp-connections again for a fresh authorize URL, then complete the consent promptly.