"errors": [{"code": "2012", "message": "Unable to list blobs on the Azure blob storage account."}

ihwan 26 Reputation points
2020-08-28T08:23:21.597+00:00

Error result :
{"modelInfo": {"modelId": "f205200d-90f4-432e-be89-1cf268a1a49d", "status": "invalid", "createdDateTime": "2020-08-28T08:00:32Z", "lastUpdatedDateTime": "2020-08-28T08:00:33Z"}, "trainResult": {"averageModelAccuracy": 0.0, "errors": [{"code": "2012", "message": "Unable to list blobs on the Azure blob storage account."}]}}

An error occurred while following the guide below.
https://learn.microsoft.com/ko-kr/azure/cognitive-services/form-recognizer/quickstarts/python-labeled-data#train-a-model-using-labeled-data

The input value was here :
SAS key : https://<storage account>.blob.core.windows.net/<container name>?<SAS value> ( getting from get shared access signature )
Endpoint : Cognitive Services's endpoint
apim : Cognitive Services's api key

How can i resolve this error?

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

Accepted answer
  1. romungi-MSFT 46,476 Reputation points Microsoft Employee
    2020-08-28T10:52:00.997+00:00

    @ihwan According to the error it looks like the list permissions might be missing with your blob. Please make sure the Read 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 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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