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
질문됨 일 년 전326회 조회
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
답변함 일 년 전
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.

답변함 일 년 전

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

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

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

관련 콘텐츠