Skip to content

[BUG]: request issue with logined by claude console (create an api key), #1996

Closed

Description

@jinzhongjia

Version: v0.5.4
Platform: windows 11 24h2

I met this error:

AI_APICallError: OAuth token lacks required scopes. Token must have the following scopes: user:inference 
Image

Activity

  1. github-actions commented on Aug 16, 2025

    @github-actions
    Contributor

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

    The error message "OAuth token lacks required scopes. Token must have the following scopes: user:inference" suggests this is related to OAuth token scope issues, which is discussed in detail in issue #417.

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

  2. jinzhongjia commented on Aug 16, 2025

    @jinzhongjia
    ContributorAuthor

    I was using opencode yesterday and everything was working fine, but now I have a problem

  3. rekram1-node commented on Aug 16, 2025

    @rekram1-node
    Collaborator

    Hmm will look into this

  4. jinzhongjia commented on Aug 16, 2025

    @jinzhongjia
    ContributorAuthor

    I did a relogin in between because I was trying to debug something

    Then I encountered this problem, I suspected that anthropic modified something

  5. rekram1-node commented on Aug 16, 2025

    @rekram1-node
    Collaborator

    ahhh i can replicate thanks for finding this!

  6. thdxr commented on Aug 18, 2025

    @thdxr
    Member

    fixed in latest

  7. jinzhongjia commented on Aug 19, 2025

    @jinzhongjia
    ContributorAuthor

    oh, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions