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"

질문됨 2년 전585회 조회
1개 답변
2
수락된 답변

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
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠