Lex错误信息:"There is no alias named "

0

【以下的问题经过翻译处理】 你好,

我正在尝试使用postman测试我的LexBot。我遵循了这个 https://tutorials.botsfloor.com/test-an-amazon-lex-chatbot-using-a-rest-client-postman-c2d9ce81dcad,直接通过rest API连接到机器人,但我一直收到以下错误信息。

我尝试了Bot名称和ID,还有Alias名称和ID,以及它们的组合。我认为Alias和Bot已经正确关联(至少我这么认为)。

有人以前见过这种情况吗?我确定我可能犯了某些初级的错误。

“message”:“There is no alias named MyBotName for the bot named myMyAlias. Choose another alias.”

profile picture
EXPERT
demandé il y a 8 mois69 vues
1 réponse
0

【以下的回答经过翻译处理】 你构建了Lex v2 bot吗?是的话,你需要使用Lex v2 API端点。你所查阅的文档有点过时,使用的是v1端点。我建议尝试使用v2 API端点,看看是否仍有相同的问题。

profile picture
EXPERT
répondu il y a 8 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions