# Recording file download fails

**URL:** <https://devforum.zoom.us/t/recording-file-download-fails/71312>\
**Category:** API and Webhooks\
**Created:** [June 28, 2022, 10:26am UTC](https://devforum.zoom.us/t/recording-file-download-fails/71312 "2022-06-28T10:26:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ken.mitamura](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ken.mitamura/32/35179_2.png) [@ken.mitamura](https://devforum.zoom.us/u/ken.mitamura)\
**Post date:** [June 28, 2022, 10:26am UTC](https://devforum.zoom.us/t/recording-file-download-fails/71312/1 "2022-06-28T10:26:39Z")

</div>

**Description**  
When I made a download request based on the download\_url and download\_token of the recording\_files received by the ‘recording.completed’ webhook, an error was returned.  
The response was a 200 OK and the response body was HTML, so when I opened it as an HTML file, it displayed “Due to organizational policies, you cannot access this resource from this network location. (200)”.

I suspect the above error was caused by the user’s IP Address Access Control settings.

Are there any other possible causes for the error?

I have confirmed that this request succeeded on June 3, 2022, but failed on June 20, 2022.  
The user states that he has not changed his IP Address Access Control settings and does not know why the previously successful request failed.

Do you know the cause of this one?

**Error?**  
The response was a 200 OK and the response body was HTML, so when I opened it as an HTML file, it displayed “Due to organizational policies, you cannot access this resource from this network location. (200)”.

**API Endpoint/s?**

- ‘recording.completed’ Webhook
- HTTP request for download\_url

**How To Reproduce**

```auto
curl --request GET \
 --url {download_url} \
 --header 'authorization: Bearer {download_token}

```

---

<div class="post-metadata">

**Author:** ![alan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alan/32/38907_2.png) [@alan](https://devforum.zoom.us/u/alan)\
**Post date:** [June 29, 2022, 12:45am UTC](https://devforum.zoom.us/t/recording-file-download-fails/71312/2 "2022-06-29T00:45:19Z")

</div>

I’ve had a user experience the exact same issue, the file that was fetched from the API was a HTML file as you described. This has started happening for all users in their organisation within the past week.

Would be great to know exactly what would cause this error so I can give them steps to fix it.

---

<div class="post-metadata">

**Author:** ![ken.mitamura](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ken.mitamura/32/35179_2.png) [@ken.mitamura](https://devforum.zoom.us/u/ken.mitamura)\
**Post date:** [July 14, 2022, 10:22am UTC](https://devforum.zoom.us/t/recording-file-download-fails/71312/3 "2022-07-14T10:22:14Z")

</div>

We solved this by fixing the IP address of our server to reflect the user’s IP Address Access Control settings.

We do not know why the IP Address Access Control settings were not working before.

---

<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:** [August 13, 2022, 8:23pm UTC](https://devforum.zoom.us/t/recording-file-download-fails/71312/4 "2022-08-13T20:23:02Z")

</div>

Closed on August 13, 2022, 8:23pm UTC

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

---

<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:** [October 17, 2022, 12:19pm UTC](https://devforum.zoom.us/t/recording-file-download-fails/71312/5 "2022-10-17T12:19:04Z")

</div>

Awesome! Glad to hear you were able to solve the problem @ken.mitamura !
