Dynamic data in JSON object

Hi everyone! I would need help about an issue that I have when I make a call API with a find and replace. I try to replace an object inside my body with dynamic values, thoses values are present in the debugger but they arrive null when I check the response of this call. If I do the same thing with text instead of dynamic values, the response display the good body… I share with you some screenshot to help you to see the problem.

Image 1 & 2 : creation of the object to insert with an arbitrary text


Image 3 : Call API with the new body which contains the object created previously

At this step, all the values are correct but when I check the response on the site of the endpoint, the values are null…

I hope that someone has any idea to fix this problem..

Have a nice day everyone!

Hi fabien, the problem stills green to be sure of whats exactly happening.

But at a first glance it seems that maybe the dynamic values are not really being transported to the body.

At this specific step (image attached) click on the highlighted values. Check if they are empty or if they are getting the right values they should. If they are null, the problem might be the data source.

For example: you are getting the parent’s group data, but when you check the group, they may be empty (lacking the correct data sources). So IF this is the case, fixing the parent group would solve the problem.

You are talking about unexpected (null) values in the RESPONSE right?

You seem to affirm that the REQUEST body is OK… So, the first thing to check here is how the other end is treating your request. If your request is leaving your app in OK conditions and the response coming from the other end is the one with problems…