Calling the archive or unarchive APIs results in the session disconnecting after a few minutes.
I only found this error message in the Docker logs; I'm not sure if it helps?
/api/{session}/chats/{chatId}/archive
/api/{session}/chats/{chatId}/unarchive
err: {
"type": "UnprocessableEntityException",
"message": "Unprocessable Entity Exception",
"stack":
UnprocessableEntityException: Unprocessable Entity Exception
at SessionManagerCore.waitUntilStatus (/app/dist/core/abc/manager.abc.js:111:19)
at async resolveParamValue (/app/node_modules/@nestjs/core/router/router-execution-context.js:148:23)
at async Promise.all (index 1)
at async pipesFn (/app/node_modules/@nestjs/core/router/router-execution-context.js:151:13)
at async /app/node_modules/@nestjs/core/router/router-execution-context.js:37:30
"response": {
"error": "Session status is not as expected. Try again later or restart the session",
"session": "158654",
"status": "FAILED",
"expected": [
"WORKING"
]
},
"status": 422,
"options": {},
"name": "UnprocessableEntityException"
}
Calling the archive or unarchive APIs results in the session disconnecting after a few minutes.
I only found this error message in the Docker logs; I'm not sure if it helps?
/api/{session}/chats/{chatId}/archive
/api/{session}/chats/{chatId}/unarchive
err: {
"type": "UnprocessableEntityException",
"message": "Unprocessable Entity Exception",
"stack":
UnprocessableEntityException: Unprocessable Entity Exception
at SessionManagerCore.waitUntilStatus (/app/dist/core/abc/manager.abc.js:111:19)
at async resolveParamValue (/app/node_modules/@nestjs/core/router/router-execution-context.js:148:23)
at async Promise.all (index 1)
at async pipesFn (/app/node_modules/@nestjs/core/router/router-execution-context.js:151:13)
at async /app/node_modules/@nestjs/core/router/router-execution-context.js:37:30
"response": {
"error": "Session status is not as expected. Try again later or restart the session",
"session": "158654",
"status": "FAILED",
"expected": [
"WORKING"
]
},
"status": 422,
"options": {},
"name": "UnprocessableEntityException"
}