Heroku Hosting of Pinecone Database

Attempting to host Pinecone database on heroku and getting this errror: PineconeClient: Error getting project name: SyntaxError: Unexpected token A in JSON at position 0]. Need help

Hi @george — I believe this bug may have been fixed, but if not there may be a couple of things to look at:

  • Has your index finished initializing? You can see its status at app.pinecone.io, it should say “Ready”.
  • There may be an issue with the index otherwise. So, if it is new, I’d recommend deleting the index and reinitializing.
  • Another alternative if neither of those works is trying to delete and reload the repository.

I hope one of those helps!