Assistant doesn't work with valid API Key

I’m in the beta for assistants and wanted to start by following your tutorial but they key is not accepted - even a new one isn’t

UnauthorizedException: (401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'access-control-allow-origin': '*', 'vary': 'origin,access-control-request-method,access-control-request-headers', 'access-control-expose-headers': '*', 'x-cloud-trace-context': 'ebf463efeedc6d2e2861a65f4f9eb192;o=1', 'date': 'Fri, 28 Jun 2024 08:38:31 GMT', 'content-type': 'text/html', 'server': 'Google Frontend', 'Content-Length': '15', 'via': '1.1 google, 1.1 google', 'Alt-Svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'})
HTTP response body: Invalid API Key

Hi @kevin1, and Welcome to the Pinecone community forums!

Thank you for the question, and sorry you’re encountering this. I’m following up on our end to look into this and I’ll post more when I have an update for you.


Hello All,

Just so the rest of the community is aware. @kevin1 and I worked on this issue. It turns out that there is an issue with the 0.1.2 version of pinecone-plugin-assistant, where the API key was not being set correctly on request. This has already been fixed in the latest version 0.1.3.

We have also updated our collab notebooks with the newest version.

@kevin1 Thank you for working with us on this issue.