-
-
Notifications
You must be signed in to change notification settings - Fork 17k
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
[BUG] Pinecone API-key is incorrectly cached. #2235
Comments
I was able to replicate from the steps, 404 when we change the credentials, but when I do console log the api key, I can see the new updated API key. And strangely by adding a |
I have the same issue on my end |
Hello all, I have reproduced this outside of Flowise, the issue is with our Node.js drive. I will work with the team to get this fixed and will let you know when it's in a release. |
I have the same problem here. @HenryHengZJ how can this "fix by adding a describeIndex" be done? Is it possible to be done without knowning code? Edit: I redeployed and it is fixed now |
Problem
When switching between Pinecone Indexes in different projects a 404 error is returned by Pinecone. Even thou the API key has been updated. It seems that Flowise might be caching the API key and not using the new one. This does not always happen; I can reproduce it about 40% of the time in my environment.
I have another user who saw it every time in their environment, which was on Render. The only way around it was to redeploy.
We know the issue is inside Flowise as we tested the API keys and indexes using
curl
.We also set the key as an invalid value in Flowise, and the error message should be 401; it was not.
To Reproduce
Please use the Flow I have attached
Expected Behaviour
When switching to a different Index and Connect Credential, it uses them and not the old one.
Flow
new Chatflow.json
The CSV file for the Flow:
Setup
npx flowise start
Additional context
I work for Pinecone, please let me know if you need more details.
The text was updated successfully, but these errors were encountered: