Skip to content
Back

Sync with Pinecone Function: PineconeBadRequestError

  • 0
  • Functions
  • Web
  • Cloud
poonasor
26 Jan, 2025, 04:51

So i used the template to get everything setup, but now when i try to execute the function i keep getting:

PineconeBadRequestError: metadata field: $collectionId is illegal since it starts with '$' at mapHttpStatusError (/usr/local/server/src/function/node_modules/@pinecone-database/pinecone/dist/errors/http.js:224:20) at /usr/local/server/src/function/node_modules/@pinecone-database/pinecone/dist/errors/handling.js:65:69 at step (/usr/local/server/src/function/node_modules/@pinecone-database/pinecone/dist/errors/handling.js:33:23) at Object.next (/usr/local/server/src/function/node_modules/@pinecone-database/pinecone/dist/errors/handling.js:14:53) at fulfilled (/usr/local/server/src/function/node_modules/@pinecone-database/pinecone/dist/errors/handling.js:5:58) at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

I tried to get the request and response body to show but can't seem to figure it out. ive tried log(), i've tried context.log() ive read the documentation nothing seems to work

TL;DR
Developers are encountering a PineconeBadRequestError due to an illegal metadata field ($collectionId starting with '$') when using a Pinecone function. They are unable to display the request and response body using log(), context.log(), or documentation.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more