-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
GOOGLE_API_KEY and GOOGLE_APPLICATION_CREDENTIALS conflict in .env #7399
Comments
Hey @arximughal! I'm here to help you with bug fixes, questions, and becoming a contributor. Let's squash those bugs together! 🤖 The error you're encountering is due to a conflict between using To resolve this issue, you should use For the Here's a suggested approach:
By separating the authentication methods based on the service requirements, you can avoid conflicts and ensure both services work correctly. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Well...
I will close the issue. Feel free to open in future if required! |
…x AI. Addresses langchain-ai#7399 and possibly other issues.
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Error occurred during prompt execution: Error: APIs that require a project ID cannot use an API key
Description
GOOGLE_API_KEY
seems to be conflicting with the existingGOOGLE_APPLICATION_CREDENTIALS
variable present in the.env
file.System Info
The text was updated successfully, but these errors were encountered: