on 08-12-2020 2:07 PM
On a webchat while having a conversation with the bot, we are facing an error at random times.
We investigated the issues by doing postman request to the url 'https://api.cai.tools.sap/build/v1/dialog/' with the following parameters:
{
"message": {
"type": "text",
"content": "hello" },
"conversation_id": "32d3d9cb-47ce-4143-b2f6-1248dfc1a755" }
}
and it return us this error message:
{
"results": null,
"message": "Internal Server Error",
"error": {
"error_code": "Botler-Api - 0022",
"uuid": "a36ef54b-22ef-4a5b-908e-b1328c393a69",
"origin_error_code": "JTech - 0001",
"details": [] }
}
Just to make sure about the error we tried to make the same request with a new Conversation ID and it works fine. Therefore we think that the conversation ID expires. Any idea to make it work ?
Hi Mohammed,
the error you experience is related to the specific conversation as a lot of skills have been started but where never completed. In this special case an error occurs in the CAI backend - I will address this to the corresponding team.
As a workaround, using a different conversation_id resolves that situation as you already figured out.
Sorry for the inconvenience and best regards,
Stephan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mohammed,
it looks like your bot is making heavy use of goto-wait for user input but the user is then continuing with a different skill. This will slowly increase the size of the skill stack which then leads to the issue. So as a workaround I would recommend to build the bot in a way that it doesn't put "unnecessary" skill on the skill stack - however, this is very hard to tell without knowing the use case and internals of your specific bot.
Corresponding team is already informed and will work on the issue as soon as possible.
Best,
Stephan
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.