We are using Lightning Sync to sync our user’s calendars to Salesforce. This creates events in Salesforce. A couple of weeks ago we noticed that certain calendar events stopped syncing. With the help of SF support we traced the problem to a trigger from the Zoom app. The trigger is trying to query the Lead object. I was able to apply a quick fix for some of our users with Salesforce licenses by granting Read access on the Lead object, but we have some user licenses that do not support access to Leads, so this is still broken for them and generating errors in our Salesforce org.
We are not using the Lead object in our Salesforce org at all, so there is nothing for the Zoom app to query there.
zoom_app.ZoomMeetingCreationTrigger : zoom_app.ZoomMeetingCreationTrigger: execution of AfterInsert caused by: System.QueryException: sObject type ‘lead’ is not supported. If you are attempting to use a custom object, be sure to append the ‘__c’ after the entity name.
Salesforce Zoom App
How To Reproduce (If applicable)
- Install Zoom app for Salesforce
- Enable Lightning/Outlook Sync in Salesforce
- Notice that the users calendars are missing many events
- See trigger errors in the log
Thanks for your consideration!