How to fix the below blob trigger and function app

Shri Gowtham Tharun Reddy Abbireddy 136 Reputation points
2023-05-29T15:13:11.2166667+00:00

Getting the below error when I trigger function app when there is change in the blob.
Any idea what is the issue.

Request [09c7a533-bb37-497d-8ec6-e0f6aeea7983] HEAD https://storageaccount.blob.core.windows.net/country/ x-ms-version:2021-12-02 Accept:application/xml x-ms-client-request-id:09c7a533-bb37-497d-8ec6-e0f6aeea7983 x-ms-return-client-request-id:true User-Agent:azsdk-net-Storage.Blobs/12.15.1 (.NET 6.0.16; Linux 5.10.164.1-1.cm1 #1 SMP Tue Jan 24 21:45:24 UTC 2023) x-ms-date:Mon, 29 May 2023 13:46:59 GMT Authorization:REDACTED client assembly: Azure.Storage.Blobs

Response [09c7a533-bb37-497d-8ec6-e0f6aeea7983] 200 OK (00.0s) Accept-Ranges:bytes ETag:"0x8DB604B1E0A50DF" Server:Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0 x-ms-request-id:f89a9ea0-c01e-0060-7e34-920713000000 x-ms-client-request-id:09c7a533-bb37-497d-8ec6-e0f6aeea7983 x-ms-version:2021-12-02 x-ms-resource-type:REDACTED x-ms-creation-time:Mon, 29 May 2023 13:46:34 GMT x-ms-lease-status:unlocked x-ms-lease-state:available x-ms-blob-type:BlockBlob x-ms-server-encrypted:true x-ms-access-tier:Hot x-ms-access-tier-inferred:true x-ms-owner:REDACTED x-ms-group:REDACTED x-ms-permissions:REDACTED Date:Mon, 29 May 2023 13:46:59 GMT Content-Length:9084816 Content-Type:application/octet-stream Content-MD5:QjQKyxmGKzDE4YWcv+a8oA== Last-Modified:Mon, 29 May 2023 13:46:34 GMT

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,644 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,914 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,618 questions
0 comments No comments
{count} votes

Accepted answer
  1. navba-MSFT 20,560 Reputation points Microsoft Employee
    2023-05-30T07:37:12.1233333+00:00

    @Shri Gowtham Tharun Reddy Abbireddy Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    Looking at the issue verbatim you have posted, I see that the trigger is successful. I see 200 OK success status code in the response. It is a GetBlobProperties (Head) request headers being sent and the Response headers received from the Azure Storage.

    Response [09c7a533-bb37-497d-8ec6-e0f6aeea7983] **200 OK (**00.0s)
    I looked at the backend logs for the x-ms-request-id:f89a9ea0-c01e-0060-7e34-920713000000 and there are no failures. The operation has completed successfully.

    You can also check and test the function app from the Azure portal, browse to your function expand the Logs at the bottom of the page and then make sure that you upload the blob to the concerned Azure Storage Account and check if you get the Blob triggered message as shown below:

    User's image

    More Info here .

    **
    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful