Getting error message: The intent named 'IntentName' in bot 'BotName' is not allow listed for explicit next actions. Remove any explicit next actions from the intent and try your request again.

0

I suddenly started getting an error when I try to Build a LexBot that's been working previously. I made a small change to the custom Payload response that should not have affected performance of the bot.

The message I'm getting is: "The intent named 'IntentName' in bot 'BotName' is not allow listed for explicit next actions. Remove any explicit next actions from the intent and try your request again."

I removed the Intent and re-added it and it worked until I added a Custom Payload. Once I added the custom payload, I continue to get the error, even if I remove the Custom Payload from the intent and just go back to a single text response.

I haven't made any other changes to the Lex bot or to IAM permissions or to any other intent.

I've searched high and low in the documentation as well as on Google at large and I can't find anything to point me in the direction of what to correct. I can't even find an inkling of where to modify or remove any explicit next actions from the intent.

  • I think this note may have something to do with the situation.

    Note On August 17, 2022, Amazon Lex V2 released a change to the way conversations are managed with the user. This change gives you more control over the path that the user takes through the conversation. For more information, see Understanding conversation flow management (p. 18). Bots created before August 17, 2022 do not support dialog code hook messages, setting values, configuring next steps, and adding conditions.

質問済み 2年前510ビュー
1回答
0

Hi Aaron,

In your case, the best path forward is to delete the impacted intent and recreate a new intent with same settings. Also, we have deployed a fix to console and this problem should not occur again.

Sorry about the churn and we hope this unblocks your development.

AWS
Saket
回答済み 2年前
profile pictureAWS
エキスパート
Chris_G
レビュー済み 2年前

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

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

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

関連するコンテンツ