Azure Functions & Blob triggers - 404 The specified blob does not exist.

DBLJoey 51 Reputation points
2023-07-28T09:51:25.9733333+00:00

I have setup a Azure Function with a Blob trigger. The Blobs are recognized by the trigger but the Azure Function using it can't find the Blob file. I use the InputStream as parameter in the main python function.

This is a screenshot of the log stream

And this is the main function in Azure Functions:

User's image

I have added the connection strings to the Azure Function Application settings.

What could be wrong in the setup here? Already tried to set up a new Azure Function but that didn't worked.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,670 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,635 questions
{count} vote

Accepted answer
  1. navba-MSFT 20,795 Reputation points Microsoft Employee
    2023-08-04T04:33:19.9566667+00:00

    @DBLJoey Appreciate your patience on this. I had a look at the backend logs for the above failure ( using the storage request ID). I see that the 404 error was for the Get Blob Properties operation. This is a HEAD call that goes first and checks if the blob exists or not after that the actual blob operation happens. This is by-design. This being a warning and not a fatal error, it can be safely ignored. This warning will not affect the function execution / blob operation.

    Note that there is no way to turn off the tracking for storage call as Storage SDK will be doing this for us for the most part and this cannot be turned off.
    In case someone wants to disable all the Dependency Tracking then you can set the enableDependencyTracking to false for the Application Insights in case you don't need it. This can be done in the host.json file.

    "enableDependencyTracking":"false"

    Similar was discussed here too.

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

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful