LOGIN_CODE_INVALID

What it means. That sign-in code is not valid or has expired.

What to do. Run uarpie login again to get a fresh code and open the link it prints within 10 minutes.

  • HTTP status: 401
  • Retryable after applying the fix: yes

Every failure from the CLI or an MCP tool has this shape:

{
  "ok": false,
  "code": "LOGIN_CODE_INVALID",
  "message": "That sign-in code is not valid or has expired.",
  "fix": "Run `uarpie login` again to get a fresh code and open the link it prints within 10 minutes.",
  "file": "<where to edit, when known>",
  "retryable": true,
  "docs": "https://docs.uarpie.app/errors/LOGIN_CODE_INVALID"
}

Apply fix (edit file when it is given), then run the same command again.