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年前

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

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

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