Thursday, May 27, 2021

[{"errorCode":"NOT_FOUND","message":"Invalid Lookup SObject:"}] Error in Einstein Bot Object Search


Usually we might get this type of errors in many situations, for myself  I caught with this type of error when we are working on Einstein Bot. In my case I want to query an object records using the "Object Search" functionality available under the Action setup.

Root Cause:

The Einstein bot doesn't have either read/view all permission on selected object or the fields mentioned in search criteria/result criteria.

Work Around:

1.Goto the Einstein bot permission set called sfdc.chatbot.service.permset 
2.Open the Object Settings and Select the Object you needed
3.Enable Read/ViewAll under Object Permissions
4.Enable the Read Access for fields under the Field permissions and Save

Please comment or write us if you have any queries/requirements.

Please like,follow,bookmark,subscribe this site to receive daily updates.

Hope this helps you..Enjoy..!

No comments:

Post a Comment