I am try to get the body of my get request from the HTTP request actions response.
$.hTTPRequest.body I can get what is stored in the body key but I cant get any another json nested within the body json.
As soon as I try to get lets say $.hTTPRequest.body.data the workflow stops seeing this as a variable or returns null. The get request response does match what I am doing above.
I saw this same issue when trying to get the body of a request made to the beta entitlement apis on IdentityNow.
above is an example of what is returned when I try to just get the body from the httpRequest response, as soon as I try to get the id it stops recognising it as a jsonpath and takes it as a plain string.
So when I try {{$.hTTPRequest.body.id}} it returns {{$.hTTPRequest.body.id}} instead of the actual id which is 69420c039e50af419ab42293a0c4fce01asds in the above example.
If you need to fetch the specific attribute, instead of id, you can use the name of attribute.
Still you need more clarification about the response of body, use another HTTPRequest action below the 1st HTTPRequest action (with the help of webhook site). Without mentioning the authentication , directly place the URL mentioned in webhook site as Request URL. And get the body of HTTPRequest1 - $.httpRequest.body.
Inline variables do not resolve arrays or objects. If the response from your HTTP request is an array of objects, then your json path will return a list of IDs, which is why it is not resolving during a live execution. If you share a sample of what the response body looks like, then we may be able to assist you with a working JSONpath.