Skip to main content

Can’t connect

Sign-in and scope errors

Workspace errors

These come back as tool errors after a successful sign-in. Each message names its fix. To act in a different workspace, reconnect and choose it on the consent screen.

Permission refusals

Refusals use the app’s own wording and never reveal whether an artifact exists. There is no share, grant, move, link, restore or delete tool, so none of these can be worked around from an agent. See Authentication and access.

Write conflicts

Each of these is a tool result with isError: true and an error code in structuredContent. Successful writes can also report an early stop: stop_reason: "cap" (the 60,000-character budget; continue with another call) or anchor_gone (the section was removed; do not re-add it). A script_stripped warning on a page means its scripts are stored but will not run when viewed.

How errors come back

Three kinds, at three layers:
Refusals, conflicts and unavailable exports are tool results, not protocol errors. The text says what to do next; diagnostic structure rides in structuredContent:
Failures from below the tool (an access gate, a backend error) use the form Tool failed: <reason>, where <reason> contains the gate’s own wording, for example Artifact not found.
Arguments that violate a tool’s JSON schema (wrong type, unknown enum value, missing required field) are rejected before the tool runs, as a JSON-RPC -32602 error.Checks a tool performs itself (expected_version missing on replace_all, two selectors passed together) come back as Tool failed: followed by the check’s message, such as `section_excerpt` is required for replace_section.
Hosts handle both by starting or re-running the OAuth flow.

Limits

Something else

Every call is recorded in the workspace’s agent activity history, and every write lands as you via the host, so a person can see in the app which client did what. Writes are checkpointed and undoable there. If a result does not match this page, note the exact text and the tool name when you report it.