Skip to content
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

401 - {'type': 'error', 'error': {'type': 'authentication_error', 'message': 'invalid x-api-key'}} #272

Open
raphale123 opened this issue Mar 19, 2024 · 1 comment

Comments

@raphale123
Copy link

The model I selected is Claude 3 sonnet, but he reported an error
Raise self_ Make status error from None (err. response)
Anthropic AuthenticationError: Error code: 401- {type ':' error ',' error ': {type': 'authentication_error', 'message': 'invalid x-api-key'}}
Uploading photo_2024-03-19_16-18-31.jpg…

@abi
Copy link
Owner

abi commented Mar 19, 2024

Can you get a new API key and try that? The error seems to be indicate that you haven't set a correct API key for the ANTHROPIC_API_KEY env var

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants