Form Recognizer Sample Labeling Tool : CORS error while creating a project

Vairavan C 96 Reputation points
2021-09-18T06:46:05.49+00:00

Hi

I am new to Form Recognizer. I am trying to create new project from Form Labelling tool and getting CORS error when I try to save the project. Tried with both online and local (docker image) tool. But I have enabled CORS for my storage account Attached the chrome developer tolls error for refence. Can somebody help me on this? What i am doing wrong in it

133268-image.png

CORS Settings
133250-image.png

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,388 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vairavan C 96 Reputation points
    2021-09-21T12:56:04.39+00:00

    Hi

    I have got another public url for Labelling tool from the thread https://learn.microsoft.com/en-us/answers/questions/41130/form-recognizer-sampling-tool-unable-to-access-fil.html

    Tool Url : samplingtool.azurewebsites.net

    And it is working perfectly with the above settings.

    Just wanted to know the url is secure https://samplingtool.azurewebsites.net/ ??

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. YutongTie-MSFT 46,986 Reputation points
    2021-09-20T06:39:24.083+00:00

    Hello,

    Thanks for reaching out to us. There are 2 possible reason for it:

    1. you need to regenerate a SAS token since it may expire.
    2. please check on if your time zone are correct

    Please let us know if regeneration not help for this, we can investigate deeper to see more possible scenario.

    Regards,
    Yutong