https://discord.gg/botpress logo
Sessions dissapearing issue
# 🤝help
a
Hi we consistently getting the below error and its resulting in us dropping conversations kindly assist [Error, State "session" doesn't exist for conversation "conv_01J2TSTKDJ84H4E4Y0TN34D42Q"] {"id":"err_20240716080525x505FD19E","code":404,"type":"ResourceNotFound","message":"State \"session\" doesn't exist for conversation \"conv_01J2TSTKDJ84H4E4Y0TN34D42Q\""} Jul 16, 2024, 10:05:25 AM error in handler Ut [Error]: State "session" doesn't exist for conversation "conv_01J2TSTKDJ84H4E4Y0TN34D42Q" at Ec (/var/task/customer_code.js:11:81781) at Qt (/var/task/customer_code.js:11:81600) at v (/var/task/customer_code.js:11:95030) at /var/task/customer_code.js:11:84923 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 3) at async resetStatesByKey (/var/task/customer_code.js:2051:10587) at async Object.onTimeout (/var/task/customer_code.js:2348:15017) at async handler (/var/task/customer_code.js:3125:901) at async /var/task/index.js:20:13702 { isApiError: true, code: 404, description: 'The requested resource does not exist.', type: 'ResourceNotFound', error: undefined, id: 'err_20240716080525x211F22FA' }
b
Another example. And unfortunately we lose the customer as they don't send another message as they assume we have received it. [Error, State "session" doesn't exist for conversation "conv_01J2XD91T71HAEFW09G9Q42WKD"] {"id":"err_20240716094357x8239231F","code":404,"type":"ResourceNotFound","message":"State \"session\" doesn't exist for conversation \"conv_01J2XD91T71HAEFW09G9Q42WKD\""}
This is happening regularly now