Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Issue in ErrorCode-400 - Data Action Failure Response Part

    Posted 03-05-2025 02:47
    Edited by Jason Kleitz 07-16-2025 16:31
    No replies, thread closed.
    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
    ------------------------------



  • 2.  RE: Issue in ErrorCode-400 - Data Action Failure Response Part

    Posted 03-17-2025 10:40
    No replies, thread closed.

    Hi Priyanka- 

    I moved your thread to the Genesys Cloud- Main community. You're most likely to get an answer there. If you have other technical questions, that's probably the best place to post. Thanks for using the community!



    ------------------------------
    Nicole Milliken
    Senior Online Community Video Specialist
    ------------------------------



  • 3.  RE: Issue in ErrorCode-400 - Data Action Failure Response Part
    Best Answer

    Posted 05-01-2025 11:45
    No replies, thread closed.

    Hi Priyanka,

    Just found this thread and realised you never got an answer?  Did you manage to resolve this issue? 

    There is further info on the following Resource Center article: Data action returns a 400 error



    ------------------------------
    Sam Jillard
    Online Community Manager/Moderator
    Genesys - Employees
    ------------------------------