Issues with Pinecone Await Init when trying to deploy

Having an issue when trying to deploy to Heroku, getting the error [ErrorWithoutStackTrace: PineconeClient: Error getting project name: SyntaxError: Unexpected token A in JSON at position 0]. How do we fix this?

1 Like

Without any more information, my best guess is that the environment variables the client is expecting aren’t set correctly. Is your application working locally?

I’m having the same issue. Were you able to fix it?

I did manage to fix it. The fix is to properly register the API keys in whatever deployment tool you are using.

1 Like

I had an issue when using flowise. When I copied the flowise api key it would not copy the characters correctly.