401 error for the asia-northeast1-gcp env

initialize pinecone

pinecone.init(
api_key=PINECONE_API_KEY,
environment=PINECONE_API_ENV
)

index_name = “openai-trec-irwin”

Return error of 401.

API key is missing or invalid for the environment "asia-northeast1-gcp". Check that the correct environment is specified

I checked my key and env. And regenerate a api key. It’s still this error.
Any help would be greatly appreciated !

4 Likes

I am receiving the same error trying to connect to asia-northeast1-gcp

API key is missing or invalid for the environment "asia-northeast1-gcp". Check that the correct environment is specified.

Have double checked configuration. Index/Collections screen do not load as well.

2 Likes

I’m having the same issue

I have the same issue. Just registered and nothing works :frowning: All requests to Indexes/Collections screens end up in a 401 “API key is missing or invalid for the environment “asia-northeast1-gcp”. Check that the correct environment is specified.”

I am having the same issue aswell

same issue since yesterday when I started

Same problem here – I just signed up today and confirmed I’m sending a different environment than the one it’s rejecting (us-west1-gcp)

Hi, I also just started trying out pinecone. does this mean it is not working at all ?

Can you pls explain what you did? DId you force the environment to be us-west1-gcp? My env is asia-northeast1-gcp

pinecone.init(
api_key=PINECONE_API_KEY, # find at app.pinecone.io
environment=PINECONE_API_ENV # next to api key in console
)