Errors¶
Every failure reads CODE: What happened. Next step: What to do. The code is stable, so a script can branch on it; the next step says what a person can do now.
The full table of codes is generated from the contract into the README, one line for each.
The common ones¶
NEEDS_SIGN_IN: the alias's MCP server has no sign-in. Run/connectand choose that server (linear,linear-work, ...), or runopencode mcp auth linear-work, then call again.ACCOUNT_REQUIRED: more than one alias is configured and the call named none. Passaccount; the refusal's next step lists the aliases.ACCOUNT_UNKNOWNmeans the alias is not oneoptions.accountsdeclares.ACCOUNT_MISMATCH: the item belongs to another account. Read it with the account that owns it.CURSOR_INVALID: a cursor belongs to the plugin, source and account that issued it. Pass it with the sameaccount, or start again without it.CURSOR_EXPIRED: Linear no longer keeps the history the cursor names. Read again without the cursor and accept the window that is gone.RATE_LIMITED: Linear asked the plugin to slow down. Wait, then retry; do not retry in a tight loop.HOST_UNTESTED: OpenCode is outside the plugin's tested range (>=2.4.1 <2.5.0). Install a supported release, or setallowUntestedHostknowingly for a test host.UNAVAILABLE: Linear could not be reached, or its answer was not the shape the plugin expects. Try again, then check the plugin's status.SCHEMA_VIOLATIONfrom setup: a bundledskills/<id>/SKILL.mdhas invalid YAML, a missing name or description, or an empty body. The error names the file and the next step; fix the skill file, then reload the plugin.- An alias that stays in error: its MCP server is missing, disabled or failed. Check
options.accounts, then reload the plugin;status(tools.linear.statusin Code Mode) names the state and the next step.
The skill loader¶
The plugin uses the contract's SCHEMA_VIOLATION code for a bundled skills/<id>/SKILL.md whose frontmatter is not valid YAML, or has no name or description, or an empty body. Setup fails with the file's path and a next step. The frontmatter is parsed as YAML, so > and | block-scalar descriptions register their text, not the marker.
Next¶
- Capabilities: the methods and the tools that can refuse.
- Security: the data that never appears in an error or in status.