Skip to content

MCP errors and troubleshooting

The error messages an assistant sees from AdMassy's MCP server, what they mean and what to do, plus rate limits and stale tool lists.

Last updated

On this page

Assistants show AdMassy errors as text, usually with a code. This page lists the common ones. For problems outside MCP see Troubleshooting.

Access and connection

MessageMeaningWhat to do
"This connection is read-only (missing X scope)"The connection is Read only.Switch it to Read and write under Connect › MCP & CLI › MCP Access, then retry.
"Owner or admin required"Only workspace owners and admins can change confirmation rules.Ask an owner or admin, or make the change in the app; see Permissions, scopes and workspaces.
"Credential requires X scope"A write connection without that scope (for example an automation token without manage).Create a token with the scope, or use OAuth with Read and write.
401 invalid_tokenThe login expired or was revoked.Re-authenticate the connector (Claude Code: /mcp).
"This token belongs to a named MCP connector" / "This token is not valid for the … connector"The login was made for a different connector URL.Use the URL the connector was created for.
Opening /api/mcp in a browser shows 405Expected; the server only answers MCP clients.Test with whoami from the assistant instead.

Rate limits

  • AdMassy: "Rate limit exceeded (N calls per minute). Retry after S s." Each credential may make 600 read and 300 write calls per minute. Wait S seconds.
  • Meta (code: meta_17, "Ad Account Has Too Many API Calls … User request limit reached", or "retry after N s"): Meta limits how often one ad account may be read. Wait a few minutes, then continue; ask the assistant to reuse data it already has instead of re-reading. Jobs you already submitted wait and resume on their own (waitingForRateLimit in get_batch_status).

Reviews and changes

MessageMeaningWhat to do
"… review expired; preview again" or review_expiredThe review is older than its 10 or 15 minutes.Ask for a new preview. For a stopped launch, review_remaining_launch.
"Status changed since review", "Ad or destination changed since review"Someone changed the object after the review.Reload and preview again.
revision_conflict ("Build changed. Reload before saving.")A draft or rule changed since it was read.Reload it (builds, get_automation) and apply the change to the current revision.
confirmation_requiredThe action needs your explicit approval (confirm).Approve in chat; the assistant then sends the confirmation.
Item marked Needs checkMeta's answer was lost.reconcile_job links the real object; do not retry blindly.

Objects and data

MessageMeaningWhat to do
not_found ("Meta object … was not found, or this Facebook connection cannot read it")Wrong ID, or the object belongs to a Facebook profile this connection does not use.Check the ID; pass connectionId from whoami.
"The dataset is not connected to this ad account. Use list_datasets."Wrong pixel for this account.Pick one from list_datasets.
"Ad not in the AdScan corpus"The advertiser has not been scraped.Run scrape_meta_ads_library first.
Comment tools return notes about a missing Page permissionThe Facebook connection lacks a comments permission.Reconnect Facebook in the app and grant the requested Page permissions.
not_availableThe feature is not offered (AI video).Nothing to fix.

Tool list problems

  • "Unknown tool" or missing new tools: the client cached an old tool list. Restart the client; in Claude Code remove and add the server again, in Claude.ai disconnect and reconnect the connector.
  • "Invalid tool parameters" or a field message: the assistant sent a wrong field. Ask it to read the tool's input schema or build_schema and try again.
  • Connected, but nothing shows up: sign in to AdMassy with the login that authorized the connector, or remove and re-add it.

Still stuck?

Email info@admassy.com with the job ID, the tool name and the exact error text.

Was this article helpful?