Skip to content

Troubleshoot agents, MCP, and REST

Confirm the client uses /agent/v2 or /mcp/v2 and a credential authorised after the durable cutover. Check the Authorization: Bearer header, expiry, revocation status, environment-variable availability, and whether a password reset revoked the credential. Agent endpoints reject mixed cookie and bearer authentication.

MCP catalogs are scope-filtered. Review the credential’s immutable scopes. Create a replacement credential if more authority is intentionally required.

The token may be valid while a live check fails: verified email, membership, seat, admin role, resource ownership, scope, or controlled-account grant.

  • Version conflict: read the current workflow, run, or effect state.
  • IDEMPOTENCY_KEY_REUSED: the key was used for a different request identity.
  • IDEMPOTENCY_REQUEST_IN_PROGRESS: keep the same request and key; do not create another operation.
  • Effect digest conflict: one stable effect key was reused with different request bytes; save corrected source and start a new run.

Every mutating tool needs caller.name, caller.version, and idempotencyKey. Do not rely on MCP initialize metadata for the caller label.

Mutations need Txcast-Agent-Name, Txcast-Agent-Version, and Idempotency-Key headers. Reads do not.

Respect retryable and retryAt, especially for Sourcify, Safe Transaction Service, and RPC rate limits. Preserve the correlation ID and same idempotency key for an uncertain mutation.