Zoom integration "SAM  - Refresh Zoom Events" job fails when user is deleted from zoom portal.


Description

Zoom integration "SAM  - Refresh Zoom Events" job fails when user is deleted from zoom portal.

Steps to Reproduce

  1. Navigate to zoom portal and delete a user
  2. Navigate to “Direct Integration Profiles”, under the “SaaS License” application menu
  3. Once "Direct Integration Profiles" load, click on “Zoom Subscription”
  4. Click on the “Scheduled Jobs” related list
  5. Click on the "SAM  - Refresh Zoom Events"
  6. Click on "Execute Now"
  7. Job fails with error:
    The REST API call failed with status code: 404

Alternatively:

  1. Navigate to sys.scrits.do
  2. Run following script
    var gr = new GlideRecord('sam_saas_sysauto_script'); 
    if(gr.get('8b18ce31db3ee8905c87fbf4e2961955')){
    new global.SAMSaasIntegrationUtils().processScheduledJob(gr, 'downloadEvents');
  3. Following error like so returned:
    *** Script: Method failed: (/v2/report/users/thisPartWillDependOnUser/meetings) with code: 404: no thrown error 
    sn_sam_saas_int (SAMSaasZoomIntegration): SAMSaasZoomIntegration.downloadEvents: SAMSaasRestClientError: The REST API call failed with status code: 404 

Workaround


Related Problem: PRB1489329