Skip to main content

Error catalog

API errors include a docUrl field linking to these guides. Slugs are derived from the machine-readable code field (. and _ → -).

Documented errors​

MCP authentication​

Returned by the MCP endpoint (/api/mcp) with HTTP 401. The WWW-Authenticate header still carries the OAuth discovery challenge.

  • Missing MCP token — missing_token (401)
  • Invalid MCP token — invalid_token (401)
  • MCP token expired — token_expired (401)
  • token_validation_unavailable (401) — the token could not be checked because the backend is unavailable. Retry in a moment; do not generate a new token.

How docUrl works​

https://doc.mor.payments.ai/errors/{slug} — e.g. product.not_found → /errors/product-not-found