mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-21 01:55:22 -04:00
Anthropic API error - invalid x-api-key #71
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yblis on GitHub (Jul 1, 2024).
Hello,
I integrated the Anthropic pipeline available at this link: https://github.com/open-webui/pipelines/blob/main/examples/pipelines/providers/anthropic_manifold_pipeline.py to test its capabilities. I retrieved the API, but I get this error message when attempting to communicate with the AI Claude 3-5:
Error: Error code: 401 - {type: error, error: {type: authentication_error, message: invalid x-api-key}}Note: The API key is valid.
Please help
@justinh-rahb commented on GitHub (Jul 1, 2024):
you can either start the Pipelines Docker container with environment variable
-e ANTHROPIC_API_KEY=your-api-keyor set it in Admin Settings > Pipelines Anthropic valves configuration:@yblis commented on GitHub (Jul 2, 2024):
Thank you for your response, bur that's exactly what I did.
@yblis commented on GitHub (Jul 2, 2024):
Well, the problem came from my API key, I think there are issues on Anthropic's side, thank you for your help.