question

krishnaprasad-5489 avatar image
0 Votes"
krishnaprasad-5489 asked ChaitanyaNaykodiMSFT-9638 answered

Azure function request is getting truncated if request body is more than 4mb

If a HTTP Azure function request body contains more than 4MB than request is getting is truncated. Please help how to increase length. I created azure function on portal instead of in visual studio. Is there any way to update web.config of azure function which is developed in azure portal?
Iam using function app version 2.0 is there any limitation for it?

azure-functions
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ChaitanyaNaykodiMSFT-9638 avatar image
0 Votes"
ChaitanyaNaykodiMSFT-9638 answered

Hello @krishnaprasad-5489, Thank you for reaching out.
For Azure Function App there is no option to customize the web.config file. The HTTP request length is limited to 100 MB (104,857,600 bytes), which is true for Version 2.0 as well.

As the request body is getting truncated if it is more than 4 MB I think debugging the function app locally via Visual studio might help in pin-pointing issue faced. You can follow this documentation in order to debug your function app locally via Visual studio.

Please let me know if there are any concerns, I will be glad to continue with our discussion. Thank you!


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.