I got this error, but turned out that I had not properly set the API-key or endpoint variable. Print them to screen an make sure that they are not just set as "None" in your program. ;-)
Azure OpenAI - Access denied due to invalid subscription key or wrong API endpoint
Witold Wydmański
80
Reputation points
Hi!
I just got access to Azure OpenAI services. I'm trying to use Azure AI Studio to test out my subscription, but it looks like something's wrong - I can't even use the official GUI because I keep getting an "Acess denied due to invalid subscription key" error, as on the image below.
I created a deployment and did everything by the book. Is there something I'm missing?
Best wishes,
Witold Wydmański
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,103 questions
8 answers
Sort by: Most helpful
-
-
Tech Kalapa 65 Reputation points
2023-10-16T08:27:31.5766667+00:00 I have the same error.
-
Jason Owens 0 Reputation points
2024-08-15T00:01:38.5466667+00:00 Make sure to use the correct endpoint. I was using vision.cognitiveservices.azure.com/ instead of face.cognitiveservices.azure.com/