


I have created an action in JO, however while making updates to the Payload Attribute I need to upload a new JSON file. But while uploading JSON file it was throwing error "Paste a payload with a Valid JSON format"
Even the JSON format which is correct. Kindly help me in same.
Views
Replies
Sign in to like this content
Total Likes
{
"templateName":{
"toBeMapped":true,
"dataType":"string",
"label":"Template Name"
},
"transEmailID":{
"toBeMapped":true,
"dataType":"string",
"label":"Tranction Recipient Address"
},
"sailthruKey":"338ff3ab1c7f19969a8bb2263c1f0a09",
"skey":"524a3698546cd72346c45bb15afa617f",
"scid":{
"toBeMapped":true,
"dataType":"string",
"label":"Signet Customer ID"
},
"SignetCustomer_SID":{
"toBeMapped":true,
"dataType":"string",
"label":"SignetCustomer_SID"
},
"transID":{
"toBeMapped":true,
"dataType":"string",
"label":"Transaction ID"
},
"recommendations":{
"toBeMapped":true,
"dataType":"listObject",
"label":"recommendations",
"fields":{
"sku":{
"dataType":"string",
"label":"sku"
},
"pdpURL":{
"dataType":"string",
"label":"pdpURL"
},
"imageURL":{
"dataType":"string",
"label":"imageURL"
}
}
}
}
Looks like the new json payload is not a valid json. Please validate here https://jsonformatter.curiousconcept.com/# and then add payload under “Action parameters”
Thanks for your response, while cross checking JSON file it shows Expecting 'comma' or '}', but I am not a JSON expert can you please help me in fixing it. I am pasting the JSON file content below.
Views
Replies
Sign in to like this content
Total Likes
{
"templateName":{
"toBeMapped":true,
"dataType":"string",
"label":"Template Name"
},
"transEmailID":{
"toBeMapped":true,
"dataType":"string",
"label":"Tranction Recipient Address"
},
"sailthruKey":"338ff3ab1c7f19969a8bb2263c1f0a09",
"skey":"524a3698546cd72346c45bb15afa617f",
"scid":{
"toBeMapped":true,
"dataType":"string",
"label":"Signet Customer ID"
},
"SignetCustomer_SID":{
"toBeMapped":true,
"dataType":"string",
"label":"SignetCustomer_SID"
},
"transID":{
"toBeMapped":true,
"dataType":"string",
"label":"Transaction ID"
},
"recommendations":{
"toBeMapped":true,
"dataType":"listObject",
"label":"recommendations",
"fields":{
"sku":{
"dataType":"string",
"label":"sku"
},
"pdpURL":{
"dataType":"string",
"label":"pdpURL"
},
"imageURL":{
"dataType":"string",
"label":"imageURL"
}
}
}
}
Thanks a ton anuhya. It works 🙂
Views
Replies
Sign in to like this content
Total Likes