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
preguntada hace un año326 visualizaciones
2 Respuestas
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
respondido hace un año
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.

respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas