Solved

Issue with deserializing contents in Powerapp Action

  • 4 January 2022
  • 2 replies
  • 166 views

Userlevel 7
Badge +24

Experimenting with Powerapps… and IFS Actions, for example a status change.

We have seen the “error while de-serializing contents” issue in many threads, and the answer is that we have to submit an empty JSON body like {}.  I’m just not seeing how to do this in Powerapps.

 

This example works for the Lead/SetParked action, which does take a body:

 

But the Lead/SetUnqualified action does not take a body.

If i do something like this, Powerapps does not submit a body and so we get the error while deserializing contents issue.

 

There must be some syntax in Powerapps that allows us to specify that an empty body {} should be submitted.  Any ideas how we do that?

icon

Best answer by Rifki Razick 6 January 2022, 04:12

View original

2 replies

Userlevel 4
Badge +9

Hi Paul,

In order to solve this you might want to look at invoking a Power Automate “flow” (of type http request) from your PowerApp that would provide you with greater control of your payload. See https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows

/Rifki

Userlevel 7
Badge +24

Thanks @Rifki Razick 

It looks like that is what we have to do.  It is much easier to specify the payload in Power Automate.

Reply