Reference

Errors

HTTP errors, tool errors, and what to do about each.

Problems come back in one of two ways: as an HTTP error before any tool runs, or as a tool result with isError: true.

HTTP errors

Status When What to do
401 No credentials on https://mcp.precedera.com/mcp, or an invalid or revoked API key or token Sign in again, or check the key. The WWW-Authenticate header carries resource_metadata for OAuth discovery.
405 GET or DELETE on the MCP endpoint GAAP MCP is stateless and has no SSE stream. Send POST requests only.
429 A coarse per-IP flood guard tripped Wait for the Retry-After seconds, then slow down.
500 An unexpected server error Retry shortly. Nothing is charged for a failed call.

The 401 body is short JSON, for example:

{ "error": "invalid_token", "error_description": "The API key is not valid or has been revoked." }

Tool errors

These arrive as a normal tool result with isError: true and an explanation in the text, so your agent can read and act on them.

Situation Example message What to do
Invalid input Input validation error: Invalid arguments for tool search_guidance: query: Too small: expected string to have >=3 characters Fix the arguments. See Tools.
Paid access needed Not returned, paid access needed: REV-110. followed by the reason See below.
Unknown entry ID No entry with ID: CTG-999. IDs come from search_guidance shortlists. Use IDs from a shortlist.
Rate limit Rate limit reached (60 requests in this window). Retry after 23 seconds. Wait retry_after_seconds, then continue. See Usage limits.
Service error The guidance service hit an error and nothing was charged. Try again shortly. Retry.

When paid entries cannot be returned, the result includes a payment object with a reason:

  • No credentials or no paid access: sign up or sign in, then choose a plan or buy inquiries.
  • Auto-reload reached this month’s limit: raise the limit or buy a block on your account page.
  • Auto-reload could not charge your card: update the card in the billing portal, or buy a block. Auto-reload pauses after a failed charge until you turn it back on or make a purchase.
  • A top-up is processing: try again in a minute.

A search with paid matches withheld is not an error: it returns the free-sample candidates, if any match, with withheld_paid_matches and payment set.