Form Recognizer issue with API key

+NYCWMG Adopsbot 1 Reputation point
2022-09-21T18:25:55.203+00:00

I have used the Subscription ID and End point URL to connect the SDK connection but its not working it is throwing error can you assist me in this.

243581-image.png

Azure AI Document Intelligence
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 54,011 Reputation points Moderator
    2022-09-22T03:40:06.577+00:00

    Hello @+NYCWMG Adopsbot

    Thanks for reaching out to Microsoft Q&A platform! To connect to your resource, you need to use API key and Endpoint URL not your Azure Subscription.

    Please check on below screenshot:

    1. Go to your resource and click "Keys and Endpoint"
      243599-image.png

    2) Then you can see the key you need and the endpoint url as below
    243618-image.png

    Both keys work, just choose one of them. I hope this helps!

    If you need more infomation about how to set up with SDK, please check on this guidance - https://learn.microsoft.com/en-us/azure/applied-ai-services/form-recognizer/quickstarts/get-started-v3-sdk-rest-api?pivots=programming-language-csharp

    Regards,
    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.