I cant send https request to my azure open ai service . getting unauthrized every time

גיא אנצלוביץ 5 Reputation points

I am trying to use Azure Open AI api by sending https request. I used my key correctly with "Authorizatio" : "Bearer {my_kay}" and yet getting bad key message every time

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,283 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Saurabh Sharma 23,761 Reputation points Microsoft Employee

    Hi @גיא אנצלוביץ

    Welcome to Microsoft Q&A! Thanks for posting the question.

    Can you please share your rest call request details. You need to make sure that you have "Cognitive Services User" permissions to access specific AI services resource.

    Please refer to the documentation for additional details.



    Please 'Accept as answer' and Upvote if it helped so that it can help others in the community looking for help on similar topics.