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

Docker api key auth not working #343

Open
americaanspirit opened this issue Dec 12, 2024 · 3 comments
Open

Docker api key auth not working #343

americaanspirit opened this issue Dec 12, 2024 · 3 comments
Assignees

Comments

@americaanspirit
Copy link

2024-12-12 07:58:53 crawl4ai-hub-arm64-1 | Error in thread execution: litellm.AuthenticationError: AuthenticationError: OpenAIException - Error code: 401 - {'error': {'message': 'Incorrect API key provided: no-token. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}

@unclecode
Copy link
Owner

@americaanspirit Hi, could you please share the code snippet? I want to see how you're calling the docker server and then see how it goes.

@unclecode unclecode self-assigned this Dec 13, 2024
@americaanspirit
Copy link
Author

I was able to fix it by sending api-key in the request for llm scrapes is this how its supposed to be?

@unclecode
Copy link
Owner

@americaanspirit Yes, you're right. You can always pass the api token like that.

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