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.

asked 3 months ago114 views
1 Answer
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.

Saket
answered 3 months ago
profile picture
MODERATOR
Chris_G
reviewed 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions