(Safari). It looks like @pinecone-database/pinecone (2.2.0) is setting the User-Agent HTTP header to:
User-Agent: @pinecone-database/pinecone v2.1.1; lang=typescript,
which causes this exception:
[Error] Request header field User-Agent is not allowed by Access-Control-Allow-Headers.
[Error] Fetch API cannot load https://YOUR-PINECONE-VECTORDB-ID.pinecone.io/query due to access control checks.
[Error] Failed to load resource: Request header field User-Agent is not allowed by Access-Control-Allow-Headers. (query, line 0)
here is the link to the submitted issue: [Bug] Fails to reach Pinecone on iOS / macOS in V1 and V2 from ReactJS Browser · Issue #201 · pinecone-io/pinecone-ts-client · GitHub
1 post - 1 participant