Skip to content

Claudian returns 403 "Request not allowed" even though CLI login succeeds #848

Description

@bobenba09-sudo

Environment

  • Claudian version: 2.0.27
  • macOS
  • Obsidian launched normally (via Dock/Finder)
  • Standalone Claude Code CLI: v2.1.193, installed at /usr/local/bin/claude

Problem
Claudian consistently returns:

Error: authentication_failed
Failed to authenticate. API Error: 403 {"error":{"type":"forbidden","message":"Request not allowed"}}

even after:

  1. Running claude auth login in Terminal (confirms claude auth status shows loggedIn: true, and claude -p "..." works fine directly from the CLI).
  2. Fully quitting and relaunching Obsidian so Claudian re-reads fresh credentials.
  3. Confirming (via Keychain Access.app) that Obsidian is explicitly listed in the "Access Control" allow-list for the Claude Code-credentials keychain item, so it isn't a Keychain ACL/permission issue.

This matches the symptoms in #90 and #325 (terminal CLI works fine, Claudian does not), which are marked stale/closed as not planned.

Possible lead
Grepping the bundled main.js in the plugin, I found it embeds:

@anthropic-ai/claude-agent-sdk
SDK_VERSION = "0.3.159"

This appears noticeably older than the SDK version used by the current official Claude Desktop app (0.3.197 as of writing) and the standalone CLI (2.1.193). It's possible the Anthropic API is rejecting requests from this outdated bundled SDK version with a 403, independent of local auth/keychain state. Bumping the bundled claude-agent-sdk dependency may resolve this.

Happy to provide more logs/details if helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions