On running data action our success scenarios are working fine but we are facing issues in failure response part. Any help would be appreciated, Thank you!
Response fields:
{
"requestId": "1234",
"errorcode": 109103,
"message": "Error_IN : No valid subscribers out of 1",
"responses": [
{
"messageKey": "1021",
"errorcode": 109110,
"message": "Error_IN : messageKey reused within the past 2 days"
}
]
}
Response schema:
{
"type": "object",
"properties": {
"requestId": {
"type": "string"
},
"errorcode": {
"type": "integer"
},
"message": {
"type": "string"
},
"responses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"errorcode": {
"type": "integer"
},
"messageKey": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}
}
Response template :
{
"translationMap": {},
"translationMapDefaults": {},
"successTemplate": "${rawResult}"
}
This Error we are getting now
{
"message": "The request could not be understood by the server due to malformed syntax.",
"code": "bad.request",
"status": 400,
"messageParams": {},
"contextId": "5b730e83-4cd0-4b95-96d3-13509f472394",
"details": [
{
"errorCode": "ACTION.REMOTE_ENDPOINT"
}
],
"errors": [
{
"message": "REST call for action execute failed. Message: Request to backend service failed. Response from web service: {\"requestId\":\"74d7461a-be46-4a8d-94eb-9c9f6e118cea\",\"errorcode\":109103,\"message\":\"MCMS_UTM_Validation_NoValidSubscribers: No valid subscribers out of 1\",\"responses\":[{\"messageKey\":\"3432343423411233462121\",\"errorcode\":109110,\"message\":\"MCMS_UTM_Validation_DuplicateMessageKey: messageKey reused within the past 2 days\"}]} [5b730e83-4cd0-4b95-96d3-13509f472394]",
"code": "BAD_REQUEST",
"status": 400,
"messageParams": {},
"details": [],
"errors": []
}
]
}
#General
------------------------------
Priyanka bidrupane
NA
------------------------------