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년 전526회 조회
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년 전

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

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

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

관련 콘텐츠