Skip to content

[Bug] Anthropic authentication_error CORS #5429

@si1en7

Description

@si1en7

📦 Deployment Method

Official installation package

📌 Version

2.15.2

💻 Operating System

Windows

📌 System Version

Windows 11

🌐 Browser

Other

📌 Browser Version

Desktop

🐛 Bug Description

Changes to Anthropic API now responds:

{
  "type": "error",
  "error": {
    "type": "authentication_error",
    "message": "CORS requests must set 'anthropic-dangerous-direct-browser-access' header"
  }
}

This was a recent change to the API and now prevents NextChat from communicating correctly.

📷 Recurrence Steps

Any interaction with any existing or new chat will cause this issue.

🚦 Expected Behavior

No response

📝 Additional Information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingplannedplanned feature, will support in the future

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions