cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

HTTP Response datapills not displaying anything in Logger

rlymer
Deputy Chef I
Deputy Chef I

I am sending an HTTP POST request, getting the response body as datapills and passing them in future actions in the same recipe.
When testing that the datapills actually contain data using Logger, nothing is displayed. Can anyone see why the datapill wouldn't be outputting any data?

Response Schema:

Screenshot 2024-09-11 102230.png

โ€ƒResponse:

Screenshot 2024-09-11 101323.png

โ€ƒLogger Message:

Screenshot 2024-09-11 101551.png

โ€ƒLogger Output:

Screenshot 2024-09-11 101523.png

โ€ƒ

โ€ƒ

โ€ƒ

3 REPLIES 3

shivakumara
Executive Chef I
Executive Chef I

Hi @rlymer ,

can see that your token follows the hierarchy below.
Status --> Data--> Token (Please let me know if my interpretation is incorrect).

Because of this, if you specify the token directly, it will not be displayed in the logger; instead, use the "pluck"  formula to fetch the token. Please let me know if that works for you; otherwise, we can connect.

Thanks and Regards,
Shivakumara A

gary1
Executive Chef III
Executive Chef III

Pluck isn't needed here. The response is being interpreted as text, but it should be parsed as JSON.

In the example, Status and Data are on the same level. Data is not within Status.

gary1
Executive Chef III
Executive Chef III

@rlymer can you show the configuration of your HTTP connector? Make sure the "Response Content Type" is set to JSON. Based on your screenshot, it appears the response is being interpreted as text.