Unable to upload HTML files to blob container

Srikanth K 0 Reputation points
2024-12-13T10:13:34.6966667+00:00

Hello All,

i am trying to upload HTML files to Azure blob container but getting below error, can you please help. have checked the connections and file permissions, no issues identified still was not able to upload Screenshot 2024-12-13 144931

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,194 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Amrinder Singh 5,870 Reputation points Microsoft Employee Volunteer Moderator
    2024-12-13T11:31:08.2866667+00:00

    Hi Srikanth K- Thanks for reaching out over Q&A Forum.

    It appears you are trying to upload the file via Portal. Can you try the below steps:

    Verify the file isn't open in another window and then try performing the operation ahead?

    Try re-freshing the browser once and see if you are able to upload it again?

    Can you try uploading it via other mechanism such as Azure Storage explorer to see if it uploads from there?

    Are there any kind of Networking limitations on the account such as PE ? If yes, can you try allowing the access from All Network and see if that helps out?

    This appears to be more on the client/machine side rather than Azure Storage but let me know how it goes as it will help with isolation

    Hope this information helps! please let us know if you have any further queries. I’m happy to assist you further.


    Please "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members


  2. Vinod Kumar Reddy Chilupuri 4,185 Reputation points Microsoft External Staff Moderator
    2024-12-13T19:20:11.36+00:00

    Hi @Srikanth K

    Welcome to Microsoft Q&A, thanks for posting your query.
    Adding Additional information for the above answer.

    The error message indicates that the HTML file couldn't be read, typically due to a permission issue or a reference problem. Since you've already checked the connections and file permissions

    1. Check Your Local File Permissions: Check the file is not open in another program. Verify that you have permission to read the file on your computer.
    2. Check Your Azure Storage Account Permissions: ⁠If you are using a Shared Access Signature (SAS) to access the storage account, make sure that the SAS is still valid and has the necessary permissions (e.g., "write" permission) to upload files to the container.
    3. Check Your Storage Account Configuration: Ensure that your Azure Blob Storage account is properly configured and the container you're uploading to exists. Verify that you have permission to write to the container.
    4. Check for Network Issues: See if there are any network problems that might be stopping the upload. Make sure that the network connection is stable and there are no issues with the internet connection. You can try uploading the files from a different network or computer to see if the issue persists.
    5. Try Uploading via the Azure Portal:
      • Upload the file directly through the Azure Portal to see if the issue still happens.
    6. Use Azure Storage Explorer:
      • Try uploading the file with Azure Storage Explorer to see if it gives more detailed error messages.
    7. Check the File Path Length: Make sure the file path is not too long, as this can sometimes cause problems. Make sure that the file size is within the maximum size limit for the container. The maximum size limit for a block blob is 4.75 TB. If the file size exceeds this limit, the upload may fail.
    8. Check the Logs: If you're using scripts or applications to upload, check the logs for any additional error information. Review the logs to identify any other errors or issues that may be causing the problem. You can also enable diagnostic logging in Azure Blob Storage to get more detailed logs.

     Please feel free to contact if the issue persists, we will be glad to assist you closely. Please do consider clicking on "Accept Answer" and "Up-vote" on the post that helps you, as it can be beneficial to other community members.

    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.