Skip to content

Troubleshooting

Each answer names the failure and the next step. This page covers the common ones; Errors has the shape of every code.

The plugin does not start

  • HOST_UNTESTED: the running OpenCode is outside >=2.4.1 <2.5.0. Install a supported release, or set allowUntestedHost: true if you accept an untested host. An in-range release such as 2.4.2 starts, and status reports it as untested.
  • OPTIONS_INVALID: the options do not match their schema. The next step names the option; compare it with Configuration.
  • SCHEMA_VIOLATION from setup: a bundled skills/<id>/SKILL.md has invalid YAML, or a missing name, description or body. The error names the file; fix it and reload the plugin.

Sign-in

  • NEEDS_SIGN_IN: run /connect, choose Google Workspace for the account and approve every scope.
  • SCOPE_MISSING: the grant does not cover the call. The refusal carries the account and a shortfall, with one fix: sign_in when signing in again with the named access allows it, settings when the account's own options keep the sign-in from asking, provider_admin when a Workspace admin must allow it, and none when nothing allows it. For a per-service access map, the Read and write choice names the services it changes. status lists the same shortfalls for each ready account.
  • A scope neither choice asks for: the call needs a scope such as Gmail settings or other contacts. The refusal names it; add it to accounts.<alias>.scopes and sign in again.
  • Google refuses the token: the OAuth client is not marked Use this client for an AI-powered agent, or its project does not enable gmailmcp.googleapis.com with gmail.googleapis.com. See Installation.

Accounts

  • ACCOUNT_REQUIRED: more than one alias is configured and the call named none. Pass account; the refusal's next step lists the aliases.
  • ACCOUNT_UNKNOWN: the alias is not one options.accounts declares.
  • ACCOUNT_MISMATCH: the item belongs to another account. Read it with the account that owns it.

The executable

  • GWS_UNAVAILABLE: the first-use download was refused, or the release assets are missing. Check binary.path and the release's manifest/native.json; retry once.
  • BINARY_TRUST_FAILED: the configured binary.path is not a trusted 0.22.5 executable, or the cached copy is writable. Remove the cached copy under the plugin cache, or point binary.path at a copy only you can write.

Changes

  • PLAN_INVALID: the plan is missing, expired or belongs to another method or class. Plan again and show the new preview.
  • PLAN_USED: the plan was already committed. Read the current state before repeating a change.
  • PERMISSION_DENIED: a deny-only policy rule, the admin gate or the session's rules refused the call. Tell the person; do not rephrase the call to get around it.
  • GRANT_INVALID: the action grant did not verify, or was already spent. The person confirms again.

Answers

  • RATE_LIMITED: Google asked the plugin to slow down. Wait, do not retry in a loop.
  • CURSOR_INVALID, CURSOR_EXPIRED: a cursor belongs to the account, source and scope that issued it. Pass it with the same account, or start again without one.
  • TOO_LARGE: the answer is larger than the source's maxBytes. Narrow the read, or export it to a file.
  • UNAVAILABLE: the provider, the gws process or a guard failed. For an operation Google's Gmail MCP server now covers, the next step names the tool to call instead. Otherwise retry once, then read status and the audit log.