Lex V2 RecognizeText issue

0

Hi, Does anyone know when this error occurs? and how can we fix this?

Sometimes it happens when we use "RecognizeText" API.

Error: "Encountered resource conflict while saving session data"

amin
已提问 1 年前325 查看次数
2 回答
0

Hi,

While it is difficult to exactly point the issue without enough details, you will typically face this error when trying to update the same session concurrently! For example two threads are trying to update the same session at the same time or two users trying to update the same session at the same time! So, to fix this please make sure there are no concurrent updates on the session.

AWS
Satish
已回答 1 年前
0

I found the same issue. There were no concurrent access, but I was updating (creating) session using PutSession API call to prepare the lex bot, wait for this API to return and then immediately using RecognizeText API. Not sure if this is causing any conflict.

已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则