Supabase Vector Store Issue!

Hey there!

I am building a simple RAG Pipeline to pull files from Google Drive to a Supabase Vector Store. Seems simple, right?

But now I keep hitting the following roadblock –

Error inserting: null value in column “document_id” of relation “document_embeddings” violates not-null constraint 400 Bad Request

That is to say, Supabase is expected a “document_id“ value from the workflow but it’s not arriving. After having troubleshot this with 4 different Models, I am truly stuck. The way Supabase is set up, it MUST HAVE a value for “document_id” for anything to be uploaded. That is fine by me, because this helps me track everything. But even with Set Nodes or Code Nodes, nothing doing. From what I understand, the Default Data Loader attached to the Supabase Vector Store is refusing to pass on the “document_id“ and so ultimately the workflow fails.

Has anyone experienced anything similar / have any tips?

Would be hugely appreciated :slight_smile:

Best,
Stefan

PS. Workflow below!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.