MCP errors, refusals and limits
HTTP errors, JSON-RPC errors, the closed list of tool refusal codes, read budgets, write caps and rate limits.
- Who can do this
- Any connected AI app and its developer.
Problems come back in three layers: an HTTP status before the request reaches a tool, a JSON-RPC error for a malformed message, and a tool refusal (isError: true) with a stable code. Every refusal text is fixed and never includes another account's data or the database's own text.
HTTP statuses
| Status | Code | Meaning |
|---|---|---|
| 401 | sign_in_required | No token. The WWW-Authenticate challenge names the resource metadata. |
| 401 | invalid_token | The connection ended or isn't recognized. Sign in again. |
| 403 | plan_ended | The account's plan has ended; the connection is paused, not ended. |
| 405 | — | Only POST is accepted (Allow: POST). |
| 406 | not_acceptable | Accept must allow application/json. |
| 413 | — | The body is larger than 64 KiB. |
| 415 | unsupported_media_type | Send application/json. |
| 429 | rate_limited | Too many requests; wait Retry-After seconds. |
| 503 | temporarily_unavailable | Not available right now; retry shortly. |
Tool refusal codes
A refused tool call answers {"content":[{"type":"text","text":"Refused (<code>). …"}],"isError":true}. The codes are a closed list:
not_allowed- An area is turned off for the person, or the record isn't one they may see or change.
account_not_active- The account can't take changes from an AI app right now (not active, or being reset).
account_not_readable- The account can't be read right now.
feature_off- CRM isn't turned on for this account.
read_limit_reached- Today's read limit for the person's AI apps in this account is reached. Resets at midnight UTC.
proposal_limit_reached- The connection used its twenty draft proposals. A new connection allows more.
write_limit_reached- Today's write limit for this connection is reached. Resets at midnight UTC.
manager_only- An AI app can't change owners, assignments, qualification, archiving or definitions.
invalid_input- The arguments don't fit the tool's
inputSchema; the text names the paths to check. request_conflict- That
requestIdwas already used with other arguments. Use a new one. stale- The record changed since you read it. Read it again and retry with its current version.
conflict- The change conflicts with the record as it is now.
busy- IA Compa is busy. Retry with the same
requestId. failed- The tool failed. Retry with the same
requestId. key_taken- A booking type already uses that key.
schedule_unavailable- That schedule isn't one of the host's active schedules.
phone_number_unavailable- The account can't get a phone number now;
phone_numbers_searchsays why. phone_number_taken- Someone just took that number. Search again.
phone_request_limit- Three phone number requests are already waiting under Approvals.
stripe_connection_not_ready- The account hasn't finished connecting Stripe.
plan_ended- The account's plan has ended. Connections are paused, never ended, until a plan is chosen. Variants
plan_ended_agencyandplan_ended_plainsay who can fix it. review_rule- A review request may not ask only some ratings: ask every rating, or none.
A tool that needs a scope the connection doesn't have is refused as insufficient scope; connect again and select it on IA Compa's page.
Limits
| Limit | Value | When reached |
|---|---|---|
| Records read per person per account, all their AI apps together | 500 a day, of which 100 opened in full with contact details | read_limit_reached |
| Direct writes per connection | 500 a day (midnight UTC) | write_limit_reached |
| Automation draft proposals per connection | 20 | proposal_limit_reached |
| Phone number requests waiting for approval | 3 | phone_request_limit |
| Requests per client address | 300 a minute | 429 |
| Requests per connection | 120 a minute | 429 |
| Requests per app | 120 a minute | 429 |
| Writes per person | 30 a minute | 429 |
phone_numbers_search | 10 a minute | 429 |
| Request body | 64 KiB | 413 |
| One tool call | 15 seconds | busy |
Retrying safely
busy,failed,rate_limitedandtemporarily_unavailable: retry the write with the samerequestIdand identical arguments.stale: read the record again and retry with its current version.- Daily limits reset at midnight UTC; don't loop on them.
Related articles
- MCP tool referenceEvery tool the IA Compa MCP server offers: what it does, its scope, arguments, answers and what needs a person.
- Security and limits for agentsLeast privilege, per-person switches, approvals, logging, rate limits, per-plan connection limits and what agents can never do.
- Hosted MCP serverIA Compa's MCP endpoint: transport, protocol versions, discovery, requests and what an AI app can see.
- Common problemsQuick fixes for sign-in, missing menu items, AI app connections, automations that don't run, emails that don't go out and AI that doesn't answer.