question

PranavGupta-6411 avatar image
0 Votes"
PranavGupta-6411 asked MughundhanRaveendran-MSFT commented

Internal Server Error while invoking a functionApp from a LogicApp

Hello,

I am trying to invoke a functionApp from a logicApp, but I am experiencing strange behavior.
If I am directly passing a created JSON with data, then it's working correctly, but If I am trying to create a body in the functionApp, getting InternalServerError.

Working when passing created body with data as shown below:
196976-image.png

Result:

196964-image.png


But not working when trying to create the body in FunctionApp:

Body:
196992-image.png

Result:
196977-image.png

Could someone please help?


azure-functionsazure-logic-apps
image.png (92.2 KiB)
image.png (59.6 KiB)
image.png (42.0 KiB)
image.png (121.2 KiB)
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

PranavGupta-6411 avatar image
0 Votes"
PranavGupta-6411 answered MughundhanRaveendran-MSFT commented

It's resolved after checking the FunctionApp logs.
A number value is getting passed instead of Integer in one of the field which is causing issue, so explicitly converted that number value to Int and then passed it to functionApp and it worked.

· 1
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.

@PranavGupta-6411 ,

Thanks for providing the answer and helping the community. Just to add to this, in case you are encountering 503 service unavailable at the Functions level, you can explore the Diagnose and Solve problems section in the Functions portal and run the "Function app down or reporting" detector. It will provide insights about downtime,exceptions and performance.

https://docs.microsoft.com/en-us/azure/azure-functions/functions-diagnostics

0 Votes 0 ·