# Upsert API giving Error : Tenant or user not found

**URL:** <https://community.pinecone.io/t/upsert-api-giving-error-tenant-or-user-not-found/7087>\
**Category:** Support\
**Tags:** vector-database, serverless\
**Created:** [December 5, 2024, 10:16am UTC](https://community.pinecone.io/t/upsert-api-giving-error-tenant-or-user-not-found/7087 "2024-12-05T10:16:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arsalan.9798](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/arsalan.9798/32/3586_2.png) [@arsalan.9798](https://community.pinecone.io/u/arsalan.9798)\
**Post date:** [December 5, 2024, 10:16am UTC](https://community.pinecone.io/t/upsert-api-giving-error-tenant-or-user-not-found/7087/1 "2024-12-05T10:16:20Z")

</div>

`curl --location 'http://0.0.0.0:3000/api/v1/vector/upsert/e3b5fe1c-db87-45aa-a029-9bac8cb33470' \ --form 'files=@"/home/arsalan/Desktop/arsalan/rag/groq_rag/data/cricket.pdf"' \ --form 'metadata="{\"source\":\"class_XII_bio\"}"' \ --form 'pineconeNamespace="class_XII"'`

This is my upsert api , i am getting error on flowise as

{  
“statusCode”: 500,  
“success”: false,  
“message”: “Error: vectorsService.upsertVector - Error: error: Tenant or user not found”,  
“stack”: {}  
}

flowise-1 | 2024-12-04 19:23:18 [INFO]: ⬆ POST /api/v1/vector/upsert/e3b5fe1c-db87-45aa-a029-9bac8cb33470  
flowise-1 | 2024-12-04 19:23:19 [ERROR]: error: Tenant or user not found  
flowise-1 | Error: error: Tenant or user not found  
flowise-1 | at Pinecone\_VectorStores.upsert (/usr/local/lib/node\_modules/flowise/node\_modules/flowise-components/dist/nodes/vectorstores/Pinecone/Pinecone.js:80:27)  
flowise-1 | at process.processTicksAndRejections (node:internal/process/task\_queues:95:5)  
flowise-1 | at async buildFlow (/usr/local/lib/node\_modules/flowise/dist/utils/index.js:420:37)  
flowise-1 | at async upsertVector (/usr/local/lib/node\_modules/flowise/dist/utils/upsertVector.js:167:32)  
flowise-1 | at async Object.upsertVectorMiddleware (/usr/local/lib/node\_modules/flowise/dist/services/vectors/index.js:9:16)  
flowise-1 | at async upsertVectorMiddleware (/usr/local/lib/node\_modules/flowise/dist/controllers/vectors/index.js:18:29)  
flowise-1 | 2024-12-04 19:23:19 [ERROR]: [server]: Error: Error: error: Tenant or user not found  
flowise-1 | Error: Error: error: Tenant or user not found  
flowise-1 | at buildFlow (/usr/local/lib/node\_modules/flowise/dist/utils/index.js:496:19)  
flowise-1 | at process.processTicksAndRejections (node:internal/process/task\_queues:95:5)  
flowise-1 | at async upsertVector (/usr/local/lib/node\_modules/flowise/dist/utils/upsertVector.js:167:32)  
flowise-1 | at async Object.upsertVectorMiddleware (/usr/local/lib/node\_modules/flowise/dist/services/vectors/index.js:9:16)  
flowise-1 | at async upsertVectorMiddleware (/usr/local/lib/node\_modules/flowise/dist/controllers/vectors/index.js:18:29)

---

<div class="post-metadata">

**Author:** ![jesse](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/jesse/32/1658_2.png) [@jesse](https://community.pinecone.io/u/jesse)\
**Post date:** [December 6, 2024, 2:46pm UTC](https://community.pinecone.io/t/upsert-api-giving-error-tenant-or-user-not-found/7087/2 "2024-12-06T14:46:25Z")

</div>

Hi @arsalan.9798. Welcome to the Pinecone community!

I’m looking into this for you, but in the meantime, can you share a link to the Flowise documentation that you’ve been using? I see only their [integration guide](https://docs.flowiseai.com/integrations/langchain/vector-stores/pinecone) and their [Vector Upsert API reference](https://docs.flowiseai.com/api-reference/vector-upsert)], but I wonder if there’s something else you’re looking at?

Best,  
Jesse

---

<div class="post-metadata">

**Author:** ![maxfalcon90](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/maxfalcon90/32/3652_2.png) [@maxfalcon90](https://community.pinecone.io/u/maxfalcon90)\
**Post date:** [December 17, 2024, 12:13am UTC](https://community.pinecone.io/t/upsert-api-giving-error-tenant-or-user-not-found/7087/3 "2024-12-17T00:13:11Z")

</div>

had the same issue as you. If you are using a postgres record manager in your flow, go to supabase and check your postgres db. Most likely it is paused and that is what causing the error.
