-
-
Notifications
You must be signed in to change notification settings - Fork 23.6k
Description
Describe the bug
When POSTing a file to the /vector/upsert/{id} endpoint, the provided file is ignored, and instead the file uploaded within the Flowise UI is upserted. In my case, I'm upserting PDFs to a Pinecone vector store. All credentials have been double-checked.
To Reproduce
An example upsertion flow is shown below:

Override config has been enabled so API calls should be able to overwrite the PDF file:

Note that the file originally uploaded is of the classic book Frankenstein. When I make a call to upsert a different book, Of Mice and Men, Frankenstein still ends up getting upserted (see response):

If I remove the file from the "PDF Loader" node, uploading any PDF (I even used the same Frankenstein file) to it will result in 0 documents getting upserted:

Expected behavior
The file provided in the form data should be upserted, not the file originally uploaded.
Setup
- Installation: Repocloud.io instance
- Flowise Version 2.1.5
Additional context
This only started becoming a problem ~3-4 weeks ago (i.e., beginning of November). It was working for months before then.