Skip to main content
Without --json, the CLI writes its errors to standard error, as readable text starting with error:. With --json, it writes to standard error an object containing schema_version and error, which is made up of code, message and exit_code.

Exit codes

Two special cases reuse code 2:
  • Invalid arguments: the JSON code is invalid_arguments, with Clap’s exit code (usually 2).
  • meetings import --wait: if the wait times out before the end, the CLI returns 2 without an error object. The job continues; track it with meetings import-status.

Common messages

MCP errors

The MCP server reports a meeting, proposal or import that can’t be found as “invalid params”. Validation failures and conflicts (empty proposal content, several summaries without target_id, declining a proposal that is no longer pending) are reported as internal errors, as are database and serialization failures.
Never try to repair by creating tables, running migrations or executing SQL. The app alone handles schema initialization and migrations; a manual change can corrupt the database.