View as Markdown

invalid_token

A key or token was sent, but it is invalid, expired or revoked.

HTTP 401. Nothing reached the broker.

Likely causes:

  • A typo, or the token was revoked or expired.
  • On the MCP server: an API key (tw_live_, tw_ro_), a sandbox key (twsk_) or a scoped token was sent. MCP takes only Sign in with Tickwire or an agent key (twag_).

What to do: Use a current token. On the MCP server, sign in with Tickwire or send an agent key (twag_). Repeated bad tokens from one IP are rate limited.

Retry: No. The same request gets the same answer; change something first.

Listed under Keys, tokens and permissions in Errors. Send the error’s requestId to support and we can find the request.