Skip to content

OpenRouter returns 401 error with valid API key #6459

@xpuliapushi

Description

@xpuliapushi

App Version

3.25.3

API Provider

OpenRouter

Model Used

Claude 3.7 Sonnet

Roo Code Task Links (Optional)

No response

🔁 Steps to Reproduce

1、create a new open-router key, set the credit limit to $5. my account has $10 total
2、 add the key into roo code
3、try run some task,and a few step,it will send the 401 No auth credentials found

💥 Outcome Summary

Expected task to be done, but got 401 respond,as you can see the follow picture , it will take a few task done to cause.

Image

📄 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

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions