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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ