Skip to content

[BUG] This credential is only authorized for use with Claude Code and cannot be used for other API requests #10566

@DaiDarko

Description

@DaiDarko

Problem (one or two sentences)

Using Claude Code as an API Provider; Signed in and on Max plan.
Getting this error "This credential is only authorized for use with Claude Code and cannot be used for other API requests."

Context (who is affected and when)

Was in the middle of a task with Claude when suddenly I got repeated Unknown API Error / Provider error

See details below

Date/time: 2026-01-09T03:03:34.271Z
Extension version: 3.39.1
Provider: claude-code
Model: claude-opus-4-5

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

Reproduction steps

  1. Using MAC OS Tahoe (latest) on MacBook Pro // Roo Code 3.39.1 extension on VS Code // API Provider set as Claude Code
  2. Using Claude Opus 4.5 with Claude Code as API Provide // Signed in and authorized on MaxPlan recently renewed.
  3. Finished a task, tried to start a new one and kept getting the error. Tried signing out of Claude Code in RooCode settings and signing back in, tried quiting VSCode and Retrying the task and also creating a new one. Got the same error.

Expected result

The task starts and shows progress

Actual result

Provider Error Docs Unknown API error. Please contact Roo Code support.Details 50s

Variations tried (optional)

No response

App Version

v3.39.1

API Provider (optional)

Not Applicable / Other

Model Used (optional)

Opus 4.5

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions