1

I created an Einstein Bot in a trailhead environment and everything went great. Apex calls etc.

Now I'm creating a new bot in the Sandbox Environment of my client and on random moments, the bot tries to send the chat to a live agent. I just don't understand why it doesn't work. Even repeating a simple word makes it crash at different moments in the dialog.

Maybe someone has had the same issue or knows a possible explanation for this behaviour?

3
  • 1
    I didn't have the same issue but there's a good way to debug Einstein bots. Under "performances". You should see the exceptions raised. Dec 17, 2018 at 16:36
  • 1
    Also, most of the problems raised by Einstein bots come from the permission set assigned. When you activate Einstein bots, Salesforce add a new permission set called "sfdc.chatbot.service.permset". Each class called by the bot or each object used must be enable in this permission set. Dec 17, 2018 at 16:39
  • Hello Martin. The permission set is configurated and it works, sometimes I get passed the Apex Class, sometimes I don't. But it seems the Chatbot just stops working and in the Performance logs is the following error: [{"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"}]
    – nesnaj713
    Dec 18, 2018 at 10:29

0

You must log in to answer this question.

Browse other questions tagged .