Recordings' Download URL responds error 1001: Forbidden

Hi, @fcedillo,
For your concern, please see this helpful developer forum post and the python script below for reference:

import requests
import os

zoom_access_token =  {recording completed access token}

download_url = {recording completed download url}


new_download_url = download_url +'?access_token=' + zoom_access_token

try:
    response = requests.get(new_download_url, stream=True)
    
except requests.exceptions.ConnectionError as err:
    print(err)
    response = requests.get(new_download_url, stream=True)
    
try:
    with open("downloadtest.mp4", 'wb') as fd:
        for chunk in response.iter_content(chunk_size=1024 * 8):
            if chunk:
                fd.write(chunk)
                fd.flush()
                os.fsync(fd.fileno())

except Exception as e:
    print(e)

I hope this helps.

Best,
Donte

1 Like