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

Getting this error when trying to integrate anthropic api key Error code: 401 - {'type': 'error', 'error': {'type': 'authentication_error', 'message': 'invalid x-api-key'}} #430

Open
arttkeller opened this issue Nov 16, 2024 · 4 comments

Comments

@arttkeller
Copy link

arttkeller commented Nov 16, 2024

Describe the bug
Getting this error when trying to integrate anthropic api key Error code: 401 - {'type': 'error', 'error': {'type': 'authentication_error', 'message': 'invalid x-api-key'}}

Captura de tela 2024-11-16 113211

@huynhhq
Copy link

huynhhq commented Nov 16, 2024

me too

@abi
Copy link
Owner

abi commented Nov 16, 2024

@arttkeller your screenshot doesn't look like this repo?

invalid x-api-key usually means that you don't have the right API key from Anthropic.

@arttkeller
Copy link
Author

@arttkeller your screenshot doesn't look like this repo?

invalid x-api-key usually means that you don't have the right API key from Anthropic.

i got the api from the link in dify thar lead me to the anthropic dashboard, created de api key and pasted in dify

@abi
Copy link
Owner

abi commented Nov 17, 2024

How does dify interact with screenshot to code? I am confused. Where you running screenshot to code?

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

3 participants