incorrect text "\r\n {\r\n " in the payload jason webhook

Hi Apsheet community members. 

I would like you to help me with a problem I have when generating a webhook.

the json body is:

[
<<Start: [Related receptions]>>
{
"order_tracking": "<<[order_code]>>",
"date_reception": "<<[created_at]>>",
},
<<End>>
]

 

but when the webhook is activated the payload includes some unwanted values:

"Payload": "[\r\n {\r\n \"order_tracking\": \"CCC2234608\",\r\n \"date_reception\": \"3/8/2022 2:23:11 PM\",\r\n },\r\n {\r\n \"order_tracking\": \"CCC2243678\",\r\n \"date_reception\": \"3/8/2022 2:24:12 PM\",\r\n },\r\n {\r\n \"order_tracking\": \"CCC2234600\",\r\n \"date_reception\": \"3/8/2022 2:23:00 PM\",\r\n },\r\n {\r\n \"order_tracking\": \"CCC2234582\",\r\n \"date_reception\": \"3/8/2022 2:23:18 PM\",\r\n },\r\n {\r\n  \"order_tracking\": \"CCC2243676\",\r\n \"date_reception\": \"3/8/2022 2:24:29 PM\",\r\n },\r\n]" 

i need help, I have tried changing the structure of the json body, I have tried creating the json body again, I don't know what else to do, I have other json that have similar structures in other automation and they work correctly.

 

0 4 373
4 REPLIES 4
Top Labels in this Space