In zoom, sometimes there is a cloud recording out there but there are no recording files because "Recording was not saved because it is too short."
In such case, the whole script breaks in the function get_downloads(recording) because recording['recording_files'] is trying to get a value for a non-existing key.
Just add something like this at the start of that function:
if recording.get('recording_files') == None:
print("==> NO recording files here! Skipping")
return downloads
In zoom, sometimes there is a cloud recording out there but there are no recording files because "Recording was not saved because it is too short."
In such case, the whole script breaks in the function
get_downloads(recording)
becauserecording['recording_files']
is trying to get a value for a non-existing key.Just add something like this at the start of that function: