Azure Machine Learning - error trying to view uploaded data in tutorial

Martin Vaughan 50 Reputation points
2024-08-01T09:59:34.05+00:00

I have been trying to follow the Azure Machine Learning tutorial at https://microsoftlearning.github.io/mslearn-ai-fundamentals/Instructions/Labs/01-machine-learning.html. I have followed the instructions to the letter but encounter an error when I try to upload the data (a csv file and MTable file previously downloaded and extracted as per the tutorial instructions).

For the exact steps leading up to this, please see the instructions in the link above. When I get to the Upload folder step, I first get the error:

The provided path is not valid or the files could not be accessed. If you want to proceed, consider checking "Skip data validation" and click "Next." We will not validate your data path or query, or try to access your data for preview and schema checks.

Error: Request failed with status code 400
    at uO (https://ml.azure.com/assets/index-0dc6c834.js:210:4072)
    at lO (https://ml.azure.com/assets/index-0dc6c834.js:210:4257)
    at XMLHttpRequest.D (https://ml.azure.com/assets/index-0dc6c834.js:211:1665)

The JSON for the error is

{
  "error": {
    "code": "ScriptExecution.StreamAccess.NotFound",
    "message": "NotFound",
    "additionalInfo": null,
    "details": []
  },
  "correlation": {
    "operation": "8e4f6116536b48eb819e5e4dc286b10d",
    "request": "8cf3ab591664058e"
  }
}

The only way to proceed at this point is click the Skip data validation button. At this point, the tutorial instructs one to:

Select Create. After the dataset is created, select the bike-rentals dataset to continue to submit the Automated ML job.

However this results in new error:

Error loading data preview Not Found.

Error: Request failed with status code 400
    at uO (https://ml.azure.com/assets/index-0dc6c834.js:210:4072)
    at lO (https://ml.azure.com/assets/index-0dc6c834.js:210:4257)
    at XMLHttpRequest.D (https://ml.azure.com/assets/index-0dc6c834.js:211:1665)

The JSON is:

{
  "error": {
    "code": "ScriptExecution.StreamAccess.NotFound",
    "message": "NotFound",
    "additionalInfo": null,
    "details": []
  },
  "correlation": {
    "operation": "8e4f6116536b48eb819e5e4dc286b10d",
    "request": "8b755cebf4a8eeb6"
  }
}

Another user reports a similar error (different tutorial) here: Azure AutoML and Blob Access Issue. A Microsoft vendor advises:

To resolve the issue, please ensure that the path provided for the MLTable file is correct and that you have the necessary permissions and access rights to the Blob storage account and then follow the steps to create the Blob storage account correctly and try again.

However, neither I nor the other user in question knew how to do this - these are, after all, beginner tutorials!

Can anyone please give clear advice as to how to resolve this issue?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,322 questions
{count} votes

2 answers

Sort by: Most helpful
  1. YutongTie-MSFT 53,966 Reputation points Moderator
    2024-08-01T22:51:45.3266667+00:00

    Hello Martin,

    Thanks for reaching out to us, I just went through the link you shared and everything working fine for me. I tried different ways to reproduce this error but I failed.

    I think the best way now for us to solve this issue is debugging with you in a live session.

    Please raise a support ticket for this issue, if you have no support plan, please let us know, I am happy to enable you a free ticket for this issue.

    I hope this helps.

    Regards,

    Yutong

    0 comments No comments

  2. Andriy Valenko 0 Reputation points
    2025-04-29T18:49:18.71+00:00

    Modifying MLTable file solved the issue
    # MLTable definition file

    paths:

    - file: daily-bike-share.csv

    transformations:

    - read_delimited:

    delimiter: ','

    encoding: 'ascii'
    https://stackoverflow.com/questions/78820312/azure-machine-learning-error-trying-to-view-uploaded-data-in-tutorial

    0 comments No comments

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.