Getting [ERROR] UnauthorizedException: (401)

I’ve been using Pinecone with no errors up until yesterday, when in the lambda logs in AWS showed the following message: [ERROR] UnauthorizedException: (401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({‘x-pinecone-api-version’: ‘2025-01’, ‘x-cloud-trace-context’: ‘2bea49a855844d1906e2f895811a5b19’, ‘date’: ‘Fri, 04 Apr 2025 15:09:08 GMT’, ‘content-type’: ‘text/html’, ‘server’: ‘Google Frontend’, ‘Content-Length’: ‘15’, ‘Via’: ‘1.1 google’, ‘Alt-Svc’: ‘h3=“:443”; ma=2592000,h3-29=“:443”; ma=2592000’})
HTTP response body: Invalid API Key

I’ve verified that my API key is correct, I also made another API key to test it out but both keys were returning the same error.