Share via

using custom form recognization model in logic app using fott v2.1

Ananya Dixith 101 Reputation points
2022-04-27T10:20:19.123+00:00

I need to extract text from pdf.
I have used form recognization v2.1 https://fott-2-1.azurewebsites.net/ for model building, but I'm facing error in connection.
196819-image.png

I have configured CORS
196899-image.png

But when I try to generate SAS key, I will select all the permissions for the container and then click on generate SAS but is not getting saved by default it will be READ permission only
196849-image.png

Can anyone please help me out to solve this error?
Or can anyone suggest how to extract data from pdf by using Custom model Form Recognizer in Azure Logic App?

Azure Document Intelligence in Foundry Tools
0 comments No comments

1 answer

Sort by: Most helpful
  1. GiftA-MSFT 11,181 Reputation points Moderator
    2022-04-27T20:16:07.637+00:00

    Hi, thanks for reaching out. You'll need save the Blob SAS token and URL values in a secure location. They'll only be displayed once and cannot be retrieved once the window is closed. There may be multiple reasons for the error. At a quick glance, please specify "*" as the Allowed Origin. Use the values provided here. More suggestions are provided below based on comments in the following thread:

    • Try setting start time to be at least 15mins in the past as suggested in the best practices guide
    • If files are under a subfolder, edit the SAS blob URL to include "/subfolder?"
    • If you change the settings of your containers, unselect/select the connection name. Try deleting/recreating the connection
    • Set "*" in the allowed origins, allowed headers, and exposed headers fields
    • Set all allowed methods needed

    --please don't forget to Accept Answer if the reply is helpful. Thanks.--

    Was this answer helpful?

    0 comments No comments

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.