question

ArulMani-6018 avatar image
0 Votes"
ArulMani-6018 asked MayankBargali-MSFT answered

Including Case Throws Bad Gateway Error

My existing logic app has several action based on the case. as per my requirement i have to include new case. have also included as below
118922-image.png

and below is the C# code which i have used for accessing the case
118923-image.png

on running this code throws 502 BAD GATEWAY ERROR. But when i try to access the existing case, the code does not throws any error.
on analyzing the overview, it has Expression Evaluation Failed Error.
118898-image.png
i am passing the value for the switch as 'report', but it is considering the value as NULL.

Please help me to fix this error.



azure-logic-apps
image.png (18.4 KiB)
image.png (65.3 KiB)
image.png (46.6 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

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered

@ArulMani-6018 As per the error message in the screenshot your action Switch failed as your previous action triggerBody path is coming as null where as the expected value is type of string or Integer. The suggestion would be review your action and verify whether the path parameter value is null or not. You can first test your logic app from the portal with the expected input then use your client application to to call the HTTP trigger URL of logic app.

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.