An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
Hi @sahashi,
Welcome to Microsoft Q&A Forum, thank you for posting your query here!
The “401 Unauthorized” error typically indicates a problem with the subscription key or the endpoint. Here are a few steps to help resolve this:
- Ensure that the subscription key you are using is correct and has not expired.
- Confirm that the endpoint URL you are using matches the one provided in the “Keys and Endpoints” section of your Azure OpenAI resource.
- Verify that your API key has the necessary permissions to access the endpoint.
- If you’ve checked all these and the issue persists, it might be helpful to regenerate the keys and update your application with the new keys. Additionally, you can refer to the Azure API Management Troubleshooting Guide
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer and Yes for was this answer
Thank You.