Skip to content

Errors

Every failure is one line, CODE: What happened. Next step: What to do., at most 160 characters after redaction. The plugin adds no codes of its own; they come from the contract. The generated table in the repository README is the complete list. This page says what to do about each one.

Sign-in and accounts

Code What to do
NEEDS_SIGN_IN Sign in to that alias: /connect, or opencode mcp auth granola and opencode mcp auth granola-<alias>.
SCOPE_MISSING Confirm the scope OpenCode asks for. The plugin requests no scope of its own.
ACCOUNT_REQUIRED Pass account, one of the aliases status lists.
ACCOUNT_UNKNOWN The alias is not configured. Add it under accounts and sign in to its server.
ACCOUNT_MISMATCH The item or cursor belongs to another account. Read again under the account that issued it.

Reads

Code What to do
CURSOR_INVALID Read again without the cursor, or pass the cursor with the account and source that issued it.
CURSOR_EXPIRED Granola no longer keeps the history the cursor names. Read again without it.
RATE_LIMITED Wait a minute, then retry with fewer, narrower calls.
BUDGET_EXCEEDED Raise the person's budget for the source, or read a smaller window.
SOURCE_DISABLED Turn the source back on for the person.
TOO_LARGE Read a smaller window; the source's maxBytes is 65536.
UNAVAILABLE Retry once, then call status; Granola may be unreachable or the answer unreadable as a whole.

Exports

Code What to do
INPUT_INVALID Fix the input against the method's schema. meeting_ids takes 1 to 20 IDs, content is notes, transcript or both, and path is relative.
TOO_LARGE The export would pass 8 MB. Export fewer meetings or less content.
UNAVAILABLE A provider read failed, so nothing was written. Retry once, then call status.

Input, host and permissions

Code What to do
SOURCE_UNKNOWN The plugin declares no such source. Use granola.
SCHEMA_VIOLATION An answer did not keep the contract's shape, or a bundled skill file is malformed. The error names the file.
PERMISSION_DENIED The person's own rule refused the call. Change the rule or the access level. See Access.
PLAN_INVALID The plan is missing or belongs to another method. Plan again.
PLAN_USED The plan was already used. Plan again before the next commit.
GRANT_INVALID The action grant did not verify or was already spent. Ask the person again.
HOST_UNTESTED Install OpenCode 2.4.1. Leave allowUntestedHost at false outside one migration.
OPTIONS_INVALID The options do not match their schema. See Configuration.

A malformed skill file

Setup reads every skills/<id>/SKILL.md and parses its frontmatter as YAML. A block scalar (>, |, >-, |-) registers its text; a bare marker, invalid YAML or a missing field fails setup with OPTIONS_INVALID and a next step. Reinstall the plugin or fix the file named in the error.