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?

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.