question

VibhuPriyadarshi-6046 avatar image
1 Vote"
VibhuPriyadarshi-6046 asked ramr-msft edited

Form Recognizer Sampling Tool unable to access files in Container

The storage container being used is not accessible in the Sampling Tool. I have enabled CORS and checked the SAS URI. When trying to open the SAS URI from my browser i get this message:

 <Error>
 <Code>ContainerNotFound</Code>
 <Message>The specified container does not exist. RequestId:0808e7d7-a01e-006d-05b5-4e781e000000 Time:2020-06-30T08:09:22.6946065Z</Message>
 </Error>

Below is the Screenshot:

The Sampling Tool doesn't show any files listed.11045-sampling-tool-screenshot.png



I am able to access the files present in the container by using the link.

azure-container-instancesazure-form-recognizer
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ramr-msft avatar image
1 Vote"
ramr-msft answered ramr-msft edited

@VibhuPriyadarshi-6046 To label the forms did you use the Form Recognizer sample labeling tool located here or follow the following QuickStart – QuickStart: Train a Form Recognizer model with labels using the sample labeling tool ?


SAS URL - The shared access signature (SAS) URL of your Azure Blob Storage container. To retrieve the SAS URL, open the Microsoft Azure Storage Explorer, right-click your container, and select Get shared access signature. Set the expiry time to some time after you'll have used the service. Make sure the Read, Write, Delete, and List permissions are checked, and click Create. Then copy the value in the URL section. It should have the form: https://<storage account>.blob.core.windows.net/<container name>?<SAS value>.




· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

I followed the QuickStart and used the Sample Labeling Tool from the link provided there(https://samplingtool.azurewebsites.net). I set up a new project using the alternate link you provided and it worked! Thanks a ton!

1 Vote 1 ·
ramr-msft avatar image ramr-msft VibhuPriyadarshi-6046 ·

@VibhuPriyadarshi-6046 Thanks. If an Answer is helpful, please “Accept Answer” or Up-Vote for the same which might be beneficial to other community members reading this thread.


0 Votes 0 ·