Azure-Samples/cognitive-services-REST-api-samples

Getting error message "3001- Preprocessing failed" and additional "Unable to download blob"

Closed this issue · 1 comments

Following the quickstart for Train a Form Recognizer model and extract form data by using the REST API with cURL (https://docs.microsoft.com/en-us/azure/cognitive-services/form-recognizer/quickstarts/curl-train-extract)

When I get to Train a Form Recognizer model and I call the API curl -i -X POST "https:///formrecognizer/v2.0-preview/custom/models" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: " --data-ascii "{ "source": """"}"

I get a JSON response showing each of the files but they all return a message "unable to download blob"

See screenshot:

image

Solved, had a mistake in the SAS URL.