opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Claude Subscription is not working anymopre

Open realsamrat opened this issue 1 month ago • 4 comments

Description

[*] Claude Pro Log in with Anthropic to use your Claude Pro or Max account

This feature above is not working

This is the error message This credential is only authorized for use with Claude Code and cannot be used for other API requests

Plugins

No response

OpenCode version

OpenCode version 1.1.8

Steps to reproduce

  1. Authorize your claude subscription
  2. And try to chat

Screenshot and/or share link

https://opncd.ai/share/w1qCUIz8

Operating System

macOS 26 (Tahoe)

Terminal

Ghostty

realsamrat avatar Jan 09 '26 12:01 realsamrat

This issue might be a duplicate of existing issues. Please check:

  • #7456: fix: Claude Code API credentials - Reports the exact same error message: "This credential is only authorized for use with Claude Code and cannot be used for other API requests."
  • #7410: Broken Claude Max - Also related to Claude authentication/subscription issues

Feel free to ignore if none of these address your specific case.

github-actions[bot] avatar Jan 09 '26 12:01 github-actions[bot]

issue #7410 should related to this issue

to solve it: https://github.com/anomalyco/opencode/issues/7410#issuecomment-3728458639

Klassikcat avatar Jan 09 '26 12:01 Klassikcat

Yes, @Klassikcat , it's the same behavior as in #7410 . However, the fix mentioned there (using the "[email protected]" plugin) only worked for a few hours. So it's likely another issue this time, unfortunately.

igordertigor avatar Jan 09 '26 20:01 igordertigor

Looks like anthropic just patched [email protected]. Running into This credential is only authorized for use with Claude Code and cannot be used for other API requests. as of a few minutes ago.

starcraft66 avatar Jan 14 '26 20:01 starcraft66