0

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?

  • 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. – Martin Lezer Dec 17 '18 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. – Martin Lezer Dec 17 '18 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 '18 at 10:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.