AWS connect contact flow error while creating a script

0

Hi, We are trying to create an amazon connect-contact flow using Terraform. We have exported the existing contact flow content in JSON format using AWS CLI and using the exported JSON content in our terraform file to create a new contact flow with a copy of existing as we exported in JSON file. But we are facing an issue with the below error: Please assist

Status code: 400 Problems :"Invalid action property value .Path: Actions[1]. Transition.NextAction"

gefragt vor 2 Jahren585 Aufrufe
1 Antwort
2
Akzeptierte Antwort

Hello: The error message is indicating that some Transition in an Action is not properly defined. If you open the JSON file with a code editor you will see one JSON fragment per Action (Connect Block). Let's take a Play Prompt as example. You will see the following code:

  {
      "Identifier": "12345678-1234-1234-1234-123456789012",
      "Parameters": {
        "Text": "Thanks for calling the sample flow!"
      },
      "Transitions": {
        "NextAction": "abcdef-abcd-abcd-abcd-abcdefghijkl",
        "Errors": [],
        "Conditions": []
      },
      "Type": "MessageParticipant"
    }

You can see a Transitions section with a NextAction parameter on it. I suggest to familiarize yourself with the Amazon Connect Flow language here and then open your JSON file to look for the block that is causing this issue. Start with a basic flow (just play prompt and disconnect like this one ) to discard that there are no issues with your terraform template. Best Regards.

Estival
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen