DeepSeek API Authentication Error (401) when using LangChain’s ChatDeepSeek #30075
Unanswered
FarihaAnis
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Minimal Reproducible Example
Description
I'm trying to use the langchain library to connect to DeepSeek’s API for generating responses in my chatbot.
Error message:
openai.AuthenticationError: Error code: 401 - {'error': {'message': 'Authentication Fails (no such user)', 'type': 'authentication_error', 'param': None, 'code': 'invalid_request_error'}}
Questions
System Info
OS: Windows
Python Version: 3.12.4
LangChain Version:
Other relevant packages: Pinecone SDK, OpenAI SDK
Beta Was this translation helpful? Give feedback.
All reactions