Job Upload Issues in Azure with Python Code in R-Studio

Henrik Sejersen 20 Reputation points
2025-06-10T08:06:59.05+00:00

Experiencing an issue when uploading jobs to Azure using Python code in R-Studio. The following error message is received:

Unable to retrieve SaS Urls for project download. Snapshot data appears to be invalid. Tip: Please resubmit the job with a new code snapshot or recreate the component for this job.

This problem occurs with all jobs being uploaded, including those that functioned correctly for months. After uploading the code, the jobs fail with this error. Attempting to upload the job as a new experiment has not resolved the issue.

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

Accepted answer
  1. santoshkc 15,325 Reputation points Microsoft External Staff Moderator
    2025-06-10T10:00:10.0833333+00:00

    Hi @Henrik Sejersen,

    You're encountering a common Azure Machine Learning issue where job uploads fail with the error: "Unable to retrieve SaS Urls for project download. Snapshot data appears to be invalid."

    This usually means the code snapshot is either corrupted or expired. To resolve this, try deleting the .azureml folder and resubmitting the job to generate a fresh snapshot. If you're using custom components, recreate and re-register them.

    Also, ensure your workspace has valid access to the underlying storage and that any SAS tokens used haven’t expired. Updating the Azure ML SDK to the latest version can also help. If the issue persists, consider testing in a new workspace.

    I hope you understand! Thank you.

    1 person found this answer helpful.
    0 comments No comments

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.