About Function failing and request size limit

Jona 475 Reputation points
2024-07-09T05:14:11.2033333+00:00

Hi,

I have a function (Consumption Plan) with a blob trigger as event grid source. Watching the logs, I can get the content of the blob from que function parameters, but the function fails at the end without proper details, even when the proper try except blocks are present.

So, reading the docs, I realized that the maximun request size is 100MB .. ¿would my function be failing because of this? These are the docs.

Regards

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,701 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,657 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Achraf Ben Alaya 971 Reputation points MVP
    2024-07-30T16:22:04.1933333+00:00

    HI Jona ,

    It's possible that the azure function may fail because of the limitaion with the request size 100 mb .

    What you can do is :

    1 - if you want to investigate more , you can activate Functions diagnostics and check the logs or event you can check stream logs : https://learn.microsoft.com/en-us/azure/azure-functions/streaming-logs?wt.mc_id=MVP_328341&tabs=azure-portal

    2- if you want to go faster you can go and switch to the Prenium Plan or a dedicated APP service plan :

    https://learn.microsoft.com/en-us/azure/azure-functions/dedicated-plan?wt.mc_id=MVP_328341

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    0 comments No comments