# Recordings' Download URL responds error 1001: Forbidden

**URL:** <https://devforum.zoom.us/t/recordings-download-url-responds-error-1001-forbidden/65351>\
**Category:** API and Webhooks\
**Tags:** recording\
**Created:** [March 7, 2022, 12:21pm UTC](https://devforum.zoom.us/t/recordings-download-url-responds-error-1001-forbidden/65351 "2022-03-07T12:21:02Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![fcedillo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fcedillo/32/28053_2.png) [@fcedillo](https://devforum.zoom.us/u/fcedillo)\
**Post date:** [March 7, 2022, 12:21pm UTC](https://devforum.zoom.us/t/recordings-download-url-responds-error-1001-forbidden/65351/1 "2022-03-07T12:21:02Z")

</div>

**Description**  
i have coded an automatization to download recordings  
in some cases the download goes well  
but in some other cases i got this error message:  
`{"status":false,"errorCode":1001,"errorMessage":"Forbidden"}`

**Error**  
Every day we record at least 6 meetings at the same time.  
Downloading the MP4 file went right for 3 of recordings that were ready that day

When trying to download some of the recordings we got **error** response:  
`{"status":false,"errorCode":1001,"errorMessage":"Forbidden"}`

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Webhook

**Which Endpoint/s?**

> **[Zoom API Events - Meeting](https://marketplace.zoom.us/docs/api-reference/zoom-api/events/#/paths/recording.completed/post)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

example of download URL + access token  
`https://crackthecode-la.zoom.us/rec/webhook\_download/{REDACTED}access\_token= {REDACTED }

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 7, 2022, 4:11pm UTC](https://devforum.zoom.us/t/recordings-download-url-responds-error-1001-forbidden/65351/2 "2022-03-07T16:11:04Z")

</div>

@fcedillo,

Thank you for creating this new topic, @fcedillo! To start, can you share if there are any noticeable differences in how the calls are being made between the successful and unsuccessful requests? Have you tried to manually download a failed recording with your script? If so, can you share the results of that finding?

I am looking forward to hearing back from you.

Best,  
Donte

---

<div class="post-metadata">

**Author:** ![fcedillo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fcedillo/32/28053_2.png) [@fcedillo](https://devforum.zoom.us/u/fcedillo)\
**Post date:** [March 7, 2022, 5:23pm UTC](https://devforum.zoom.us/t/recordings-download-url-responds-error-1001-forbidden/65351/3 "2022-03-07T17:23:19Z")

</div>

Thank you @donte.zoom

1. there is no noticeable difference between successful and unsuccessful requests

2. manually downloading a recording (that failed with my script) was successful

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 7, 2022, 5:37pm UTC](https://devforum.zoom.us/t/recordings-download-url-responds-error-1001-forbidden/65351/4 "2022-03-07T17:37:08Z")

</div>

@fcedillo,

Thank you for the reply! My apologies, I meant can you try to download that recording programmatically? If the problem does not persist, then the root cause may be the script’s logic being run. An example snippet of the script being used would help diagnose what may be happening.

Best,  
Donte

---

<div class="post-metadata">

**Author:** ![fcedillo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fcedillo/32/28053_2.png) [@fcedillo](https://devforum.zoom.us/u/fcedillo)\
**Post date:** [March 8, 2022, 4:41am UTC](https://devforum.zoom.us/t/recordings-download-url-responds-error-1001-forbidden/65351/5 "2022-03-08T04:41:01Z")

</div>

this is a example snippet of the script

> <https://gist.github.com/crackthecode-it/2cef9b2af01155a58ed8a048f2aeefdf.js>

i run it in this way

```auto
from script import download_recording

download_url = 'https://crackthecode-la.zoom.us/rec/webhook_download/[REDACTED]'
download_token = '[REDACTED]'
filename = '[REDACTED] 2022-03-05.mp4'

download_recording(download_url, download_token, filename)

```

Response is an Error message

```auto
2022-03-07 23:36:46,742 INFO 420067 script.py 43 error: {"status":false,"errorCode":401,"errorMessage":"Forbidden"}

```

---

<div class="post-metadata">

**Author:** ![fcedillo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fcedillo/32/28053_2.png) [@fcedillo](https://devforum.zoom.us/u/fcedillo)\
**Post date:** [March 8, 2022, 10:40pm UTC](https://devforum.zoom.us/t/recordings-download-url-responds-error-1001-forbidden/65351/6 "2022-03-08T22:40:32Z")

</div>

hi @donte.zoom

i included a example snippet of the script

---

<div class="post-metadata">

**Author:** ![fcedillo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fcedillo/32/28053_2.png) [@fcedillo](https://devforum.zoom.us/u/fcedillo)\
**Post date:** [March 10, 2022, 9:11pm UTC](https://devforum.zoom.us/t/recordings-download-url-responds-error-1001-forbidden/65351/7 "2022-03-10T21:11:54Z")

</div>

hi! please help us with this issue

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 22, 2022, 9:24pm UTC](https://devforum.zoom.us/t/recordings-download-url-responds-error-1001-forbidden/65351/8 "2022-03-22T21:24:07Z")

</div>

Hi, @fcedillo,  
For your concern, please see this helpful [developer forum post](https://devforum.zoom.us/t/zoom-download-url-issue/11904/7) and the python script below for reference:

```auto
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

---

<div class="post-metadata">

**Author:** ![donovanc.sampson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donovanc.sampson/32/35821_2.png) [@donovanc.sampson](https://devforum.zoom.us/u/donovanc.sampson)\
**Post date:** [April 6, 2022, 6:24pm UTC](https://devforum.zoom.us/t/recordings-download-url-responds-error-1001-forbidden/65351/9 "2022-04-06T18:24:42Z")

</div>

Click your profile picture, then click Settings[.](https://printersinsider.com/) Click Register. Click one of these options next to Local Recording: Click Open to open the folder where local recordings are stored.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [April 21, 2022, 10:10am UTC](https://devforum.zoom.us/t/recordings-download-url-responds-error-1001-forbidden/65351/10 "2022-04-21T10:10:47Z")

</div>

Thanks for your input @donovanc.sampson!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [May 21, 2022, 8:11pm UTC](https://devforum.zoom.us/t/recordings-download-url-responds-error-1001-forbidden/65351/11 "2022-05-21T20:11:30Z")

</div>

Closed on May 21, 2022, 8:11pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
