question

VivekBezavada-3666 avatar image
0 Votes"
VivekBezavada-3666 asked brtrachMSFT-0711 answered

Function App is Failing with 500 errors

My function is failing to complete, and the error message says:


  • Error with Payload, since json file could not be valid.

  • Error accessing storage account where the queue is accessed.


The error is a HTTP 500 status error.

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

brtrachMSFT-0711 avatar image
1 Vote"
brtrachMSFT-0711 answered

This behavior can occur of your Function app CPU/memory are normal but there is high storage latency. By increasing the timeout value, you can provide your Function additional time to see if the latency issues will resolve and prevent a timeout. You can increase the functionTimeout property in the host.json project file to be a longer value than currently set. For more information on the timeout values, please see here.


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.