Vidext v0.15.77 is out: See who spends your tokens, a tidier Settings, and more. Read the release notes →
Skip to Content
Vidext Docs

Errors, limits, and correlation

The four layers a failure can come back in, every tool error code, the admission limits, and how to make a call traceable.

A call to the Vidext MCP server can fail in four places, five for the author tools. Check them in this order.

1. HTTP and OAuth

The request never reached a tool.

ResponseMeaningHandle by
401 + WWW-Authenticate: Bearer …Missing, expired, or refused token. The body is an OAuth error, not JSON-RPC.Re-run OAuth discovery from the challenge. Never retry with improvised credentials.
403 + insufficient_scopeThe token carries none of mcp:read, mcp:author, or mcp:operator.read; or, on a tools/call, not the scope that tool needs. The challenge's scope names what to request.Authorize again with the scopes the challenge names. A client that supports step-up authorization does this for you.
400 with JSON-RPC -32022A 2026-07-28 request names a revision the server does not serve. data.supported lists the served revisions of that era.Use a revision listed in /.well-known/mcp.
400 with JSON-RPC -32000A 2025-era request names, in MCP-Protocol-Version, a revision the server does not serve.Send initialize again; the server answers with a revision it serves.
400 with JSON-RPC -32020The Mcp-Method or Mcp-Name header is missing or does not match the body.Fix the headers.
405An authenticated GET or DELETE. The endpoint is stateless and only takes POST.Send POST.
406 with JSON-RPC -32000A 2025-era POST whose Accept header does not list both application/json and text/event-stream.Send Accept: application/json, text/event-stream.
404Not an MCP endpoint.Check the URL.
500The server could not check the token.Retry after a short wait.

2. JSON-RPC errors

The request was well formed, but the call was refused before the tool ran. These come back with HTTP 200 and a JSON-RPC error:

CodeMeaningHandle by
-32602 (InvalidParams)Unknown tool name.Fix the call. Retrying unchanged cannot succeed.

3. Tool errors

Arguments that fail a tool's schema (a missing required argument, an extra one, or a value out of range) are refused before the tool runs, with isError: true and a plain text such as Input validation error: Invalid arguments for tool list_modules: …. Fix the call; retrying it unchanged cannot succeed.

A read tool that ran and failed also returns isError: true, and its text content is:

{
  "error": {
    "code": "rate_limit_exceeded",
    "message": "Too many requests. Retry after the rate-limit window resets.",
    "retryable": true
  }
}

Show the message, and retry only when retryable is true.

codeRetryableMeaning
rate_limit_exceededyesOver 120 calls a minute for this tool. See admission limits.
concurrency_limit_exceededyesOver 12 calls in flight for this tool.
rate_limit_unavailable, concurrency_limit_unavailableyesThe admission store is unreachable. The server refuses rather than admit an unchecked call.
forbiddennoThe person is no longer an admin or member of the organization.
organization_scope_mismatchnoThe call named an organization the token is not bound to. Authorize again for that organization.
invalid_organization_selectornoorganizationId and organizationSlug name different organizations.
organization_not_foundnoNo organization matches the selector.
internal_erroryesAnything else. The message is generic on purpose.

4. In-band failures from the knowledge tools

search_knowledge and read_knowledge_source report most failures inside a normal result, without isError. Always check success:

{ "success": false, "status": "unavailable", "reason": "timeout", "error": "Organization knowledge is unavailable right now." }
statusToolMeaningRetry?
invalidbothEmpty or too vague query, or no handle.No, fix the input.
unavailablebothKnowledge could not be read. reason: "timeout" when the 15-second budget ran out.Yes.
rejectedread_knowledge_sourceThe handle did not come from search_knowledge for this organization, or no longer matches its source.No, search again.
missing, emptyread_knowledge_sourceThe source, or its processed text, is gone.No.

5. Author tool errors

The author tools, the unit tools among them, report a failure as isError: true with one text block: a sentence written for the person, then the code in parentheses, with retryable when trying again later can work.

The organization has no tokens left, so the author cannot work. An organization admin can add tokens in Settings → Usage: https://app.vidext.io/acme/settings/usage
(error: tokens_spent)

Show the sentence to the person. Retry only a retryable error, with the same idempotency_key for a message, answer, or build.

codeRetryableMeaning
forbiddennoThe person is no longer an admin or member of the organization.
organization_requirednoThe connection is not tied to exactly one organization. Authorize again.
tokens_spentnoThe organization has no tokens left. An admin adds them in Settings → Usage; the sentence links there.
payment_blockednoThe organization's plan payment is overdue and its grace has run out, so no new work starts. Adding tokens does not lift it: an admin pays the open invoice in Settings → Billing, and the sentence links there.
not_foundnoNo conversation with that conversation_id belongs to this person in this organization, or, for a unit tool, it has no unit with that unit_id.
request_conflictnoThe idempotency_key was already used with a different message or answer.
invalid_answernoThe answer names a label the question does not offer, or several where it takes one.
already_answered, question_expired, question_not_opennoThe question was answered elsewhere, expired, or is not open. author_updates shows where the conversation stands.
approve_in_vidextnoThe card is answered only in Vidext, such as a post to Slack or a scheduled agent to make or change. Nothing was answered; the user answers it at links.home.
start_refused, invalidnoThe author could not start, or could not take the request: for example a file Vidext does not read, one too large, or one whose bytes did not all arrive. The sentence says why.
files_not_storednoauthor_attach_files stored none of the files. The sentence names each file and why: for example a link that expired, which a new call replaces, or a file Vidext does not read.
no_crafternoThe unit has no module crafter to message: the author never started one for it, its last one finished for good, or the unit is a podcast or a video, which has none. Ask the author with author_send.
not_a_modulenounit_script was asked for a unit that is a podcast or a video, which has no module script. A change to it goes to the author with author_send.
not_steerablenoThe crafter cannot take this message at all; the sentence says why.
agent_runnoNo longer returned. Older versions refused writes in a run of one of the organization's scheduled agents with it; now the person a run works as can write in its conversation like in any other.
rate_limitedyesOver 100 writes a minute (messages, answers, unit messages, builds, and text edits together), 60 file uploads a minute, or 60 reads a minute. See admission limits.
write_in_flightyesAnother message or answer from this person in this conversation, another message, build, or text edit for this unit, or another call opening a new conversation is still on its way. Wait for its result, and upload further files with the conversation_id it returns.
no_scriptyesunit_script found no applied module script for the unit yet: its crafter has not written one, or its last attempt was not applied. Read it again once the author or the unit's crafter says a script applied.
course_runyesThe author's own crafter is writing the unit. Once list_units shows it accepts messages, send it again under a new idempotency_key: a refused unit message stays refused under its key.
author_driving, person_drivingyesThe crafter's run answers the author, or the person working with it in Vidext. Once that run ends, send it again under a new idempotency_key.
pool_fullyesThe workspace already runs as many agents as it may at once. In a minute, send it again under a new idempotency_key.
over_capyesThe crafter already holds as many unread messages as it takes. Once it has read them, send it again under a new idempotency_key.
queue_fullyesToo many messages already wait for the author in this conversation.
start_queuedyesThe author is waiting its turn to start. Send again with the same idempotency_key.
delivered_unreadyesThe message or answer was delivered, but reading the reply failed. Follow with author_updates, or unit_updates for a unit message; do not send it again.
unavailable, admission_unavailableyesThe author, or the admission store, is unreachable right now.
cancelledyesThe client cancelled the call.
internal_erroryesAnything else. The message is generic on purpose.

Feedback errors

submit_feedback fails the same way, with these codes besides demo_read_only and internal_error:

codeRetryableMeaning
feedback_limit_reachedno10 reports in the last hour.
feedback_not_filednoKept, but no ticket opened. Sending again keeps it twice.
feedback_unavailablewhen markedNo reports taken here, or the admission store is down (retryable).

Unit build refusals

A unit_build that cannot start fails with the build's own reason as its code and the reason in its sentence, for example needed_open (parts of the script are still marked as needed), compile_failed, or crafter_running (a crafter is still writing the script). crafter_running, not_open (the conversation is not up yet), build_retryable, and build_unavailable are retryable once that has passed; the others need the script, its sources, or the organization's balance to change first, which a unit_send to the unit's crafter or the person can do. tokens_spent links to Settings → Usage as above.

Admission limits

Every read tool call is counted per person, organization, and tool:

LimitValue
Rate120 calls per minute (sliding window)
Concurrency12 calls in flight

Author tool calls are counted per person and organization, in three budgets:

BudgetToolsLimit
Writeauthor_send, author_answer, unit_send, unit_build, unit_set_text100 calls per minute together; author_send and author_answer one in flight per conversation, unit_send, unit_build and unit_set_text one in flight per unit
Uploadauthor_upload, author_attach_files60 files per minute, one per file a call passes; any number in flight in one conversation
Readauthor_updates, author_stop, list_conversations, list_units, unit_updates, unit_script, unit_stop60 calls per minute

submit_feedback takes 10 reports an hour per person (sliding window); waiting seconds does not lift feedback_limit_reached.

A refused call comes back as a tool error (rate_limit_exceeded or concurrency_limit_exceeded from a read tool, rate_limited or write_in_flight from an author tool), not as HTTP 429. The MCP endpoint sends no 429, no Retry-After, and no RateLimit headers. Back off for a few seconds and retry. Calls refused by a tool's input schema are not counted. Calls that open a conversation (author_send, author_upload or author_attach_files without conversation_id) go one at a time per person.

If the admission store is unavailable, the server fails closed with a retryable *_unavailable error instead of running the call unchecked.

The Docs MCP server has no admission limits of its own.

Limits on the public HTTP routes

These HTTP routes answer 429 when you go over, and advertise their quota in headers:

RouteLimitHeaders
Public documents: /openapi.json, /server.json, /card.json, /llms.txt, /developers, the other markdown documents, the /.well-known/* documents other than the LTI key set jwks.json, and any unknown /api/* path300 requests a minute per IP, across all of them. A copy served by the CDN does not count.RateLimit-Policy ("public";q=300;w=60) and RateLimit-Limit. A document carries no live count, because the CDN hands the same copy to every client. An unknown /api/* path and every 429 also send the live window: RateLimit ("public";r=299;t=42, requests left and seconds until it resets), RateLimit-Remaining, RateLimit-Reset. Retry-After on every 429. If the rate-limit store cannot answer, the request is served with the policy alone.
/api/auth/*Per IP and route: 50 requests per 10 seconds by default; sign-in, sign-up, and email-code routes 5 per 5 minutes; /oauth2/register 5 per minute, /oauth2/userinfo 60 per minute, /oauth2/revoke 30 per minuteRateLimit-Policy (for example "auth";q=5;w=60 on /oauth2/register) and RateLimit-Limit: the quota of that route, not what is left. Retry-After on a refusal.
/api/agent/auth and /api/agent/auth/claim/complete60 registrations and 30 completions per hour, per IP; 5 codes an hour to one email addressThe same, plus the live window: RateLimit ("agent-auth-register";r=59;t=3540), RateLimit-Remaining, RateLimit-Reset. Retry-After on every 429.

The authorize, token, and consent endpoints (/api/auth/oauth2/authorize, /token, /consent) fall under the /api/auth/* row with their own quotas: authorize 30 requests a minute, token 20 a minute, and consent the default 50 per 10 seconds.

The field shapes follow the IETF RateLimit header fields draft. Retry-After wins over t when both are present.

Public documents also answer 200 with an ETag. Send it back as If-None-Match to reread one: an unchanged document answers 304 with no body.

Correlation

Make each call traceable, so a support request can be matched to Vidext's logs:

  • Send an x-request-id header with a unique value on each POST, and keep it. Without one, the server generates its own, which you never see.
  • Send a W3C traceparent header, or x-trace-id, to tie the call to your own trace.
  • Keep the moduleId you passed.

When a tool fails, Vidext records the request ID, the trace ID, the tool, and the moduleId. Responses do not echo these headers back. To report a problem, send the request ID, the time, the tool, and the error code.

On this page