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
asked a year ago292 views
2 Answers
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
answered a year ago
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.

answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions