-
Notifications
You must be signed in to change notification settings - Fork 59.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Anthropic authentication_error CORS #5429
Comments
Abrí yoro |
My API is completely stopped working because of this error: Invalid API Key, please check it in Settings page. {
"type": "error",
"error": {
"type": "authentication_error",
"message": "CORS requests must set 'anthropic-dangerous-direct-browser-access' header"
}
} |
This comment was marked as duplicate.
This comment was marked as duplicate.
You can now add the following HTTP request header to enable CORS support for the Anthropic API, which means you can make calls to Anthropic’s models directly from a browser:
https://simonwillison.net/2024/Aug/23/anthropic-dangerous-direct-browser-access/ |
But where to add it and how to make it work in this application :( |
fix: #5429 Anthropic authentication_error CORS
Still not working on 2.15.3 |
📦 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:
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
The text was updated successfully, but these errors were encountered: