# Download URL is not working

**URL:** <https://devforum.zoom.us/t/download-url-is-not-working/8348>\
**Category:** API and Webhooks\
**Created:** [March 2, 2020, 5:00pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348 "2020-03-02T17:00:37Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![te\_zoom.admin](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/te_zoom.admin/32/1600_2.png) [@te\_zoom.admin](https://devforum.zoom.us/u/te_zoom.admin)\
**Post date:** [March 2, 2020, 5:00pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/1 "2020-03-02T17:00:37Z")

</div>

I have written a custom job to download the video from zoom to my local server using v1 API (JWT authentication) and transfer it to amazon s3. It was running properly till Feb 29. Since yesterday, if I try to fopen the download URL, it is getting downloaded with 0 bytes file size on my server. Whereas, the same download\_url, if i open it on browser, it is downloading the full file size. Even curl is giving the same issue. I don’t know what is causing this. Can someone help me on this ?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 2, 2020, 5:12pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/2 "2020-03-02T17:12:39Z")

</div>

Hey @te_zoom.admin,

If you are using our v1 APIs, that could be the reason.

[Please use our v2 APIs](https://marketplace.zoom.us/docs/guides/announcements#v1-eol).

> **[Your Guide to Migrating From v1 to v2 APIs](https://medium.com/zoom-developer-blog/your-guide-to-migrating-from-v1-to-v2-apis-d4ded0474c04)**
>
> Zoom has grown exponentially over the last few years especially with our APIs. We started with our v1 APIs a couple years ago and now have…

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![te\_zoom.admin](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/te_zoom.admin/32/1600_2.png) [@te\_zoom.admin](https://devforum.zoom.us/u/te_zoom.admin)\
**Post date:** [March 2, 2020, 5:18pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/3 "2020-03-02T17:18:56Z")

</div>

If v1 was the issue, then I would not have got the download url right ? I am able to get the recording lists of my account. Issue is with downloading the recording file to my server.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 2, 2020, 5:54pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/4 "2020-03-02T17:54:18Z")

</div>

Hey @te_zoom.admin,

Are you getting an error when trying to download the recording file to your server?

Did your Cloud Recording authentication settings change?

Also I would highly encourage upgrading to V2 as V1 will stop working next month.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![te\_zoom.admin](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/te_zoom.admin/32/1600_2.png) [@te\_zoom.admin](https://devforum.zoom.us/u/te_zoom.admin)\
**Post date:** [March 2, 2020, 6:13pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/5 "2020-03-02T18:13:05Z")

</div>

Sure. We are in the process of updating to v2. Even I tried with v2 for the download url in my local. It is giving me the same issue. In my recording settings page, I didn’t restrict the download option, anyone can access it. It was working fine till Feb 29, from yesterday it started failing. What could be the reason ?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 2, 2020, 6:34pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/6 "2020-03-02T18:34:42Z")

</div>

Hey @te_zoom.admin,

Are you getting any error? Can you share your download\_url with me privately so I can debug.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![te\_zoom.admin](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/te_zoom.admin/32/1600_2.png) [@te\_zoom.admin](https://devforum.zoom.us/u/te_zoom.admin)\
**Post date:** [March 2, 2020, 6:40pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/7 "2020-03-02T18:40:24Z")

</div>

It’s not giving any error. When try to download using fopen or curl, it is getting downloaded on local machine with file size zero bytes whereas in browser it is downloading the full file.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 2, 2020, 6:43pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/8 "2020-03-02T18:43:30Z")

</div>

Hey @te_zoom.admin,

Can you private message me the download\_url so I can debug?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![te\_zoom.admin](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/te_zoom.admin/32/1600_2.png) [@te\_zoom.admin](https://devforum.zoom.us/u/te_zoom.admin)\
**Post date:** [March 2, 2020, 7:18pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/9 "2020-03-02T19:18:26Z")

</div>

Hi Tommy,

I have sent you the API response. In that, mp4 download url, if try to download in my server using curl or fopen, I’m getting the file with zero bytes file size. Whereas same I am able to download via browser.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 2, 2020, 8:30pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/10 "2020-03-02T20:30:31Z")

</div>

Hey @te_zoom.admin,

Thanks for sending me the API response. I will debug and communicate with you in the private message.

-Tommy

---

<div class="post-metadata">

**Author:** ![alex.jezior](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alex.jezior/32/3798_2.png) [@alex.jezior](https://devforum.zoom.us/u/alex.jezior)\
**Post date:** [March 2, 2020, 9:19pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/11 "2020-03-02T21:19:05Z")

</div>

This appears to be an issue with my application as well. Please update me with any progress made to resolve this issue. Thanks!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 2, 2020, 9:45pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/12 "2020-03-02T21:45:04Z")

</div>

Hey @alex.jezior, thanks for posting and using Zoom!

We are looking into the issue and will get back to you asap. (ZOOM-141270)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 3, 2020, 4:43pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/13 "2020-03-03T16:43:33Z")

</div>

Hey @te_zoom.admin, and @alex.jezior,

Here is the following note from our cloud recording engineers:

“I want to know how the customer downloaded the cloud recording through the curl command, I can download the cloud recording through curl -L -v -O download link, you can advise them to try again.”

Can you try again, and if there are any more details you can provide like the CURL command, that would be helpful.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![alex.jezior](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alex.jezior/32/3798_2.png) [@alex.jezior](https://devforum.zoom.us/u/alex.jezior)\
**Post date:** [March 3, 2020, 5:37pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/14 "2020-03-03T17:37:12Z")

</div>

@tommy Thanks for getting back.

I just want to mention that we are using the v2 api, and the issue started the same day @te_zoom.admin mentioned; which appears to be the 1st of the month.

We use a standard php method, `fopen`, to retrieve the filestream and store it to a disk locally managed.

In our debugging attempts we used curl to make the request via Insomnia. The request in Insomnia proved to come back with content. Exporting this curl request to php and implementing it on our servers returns a blank response, with no errors.

Here’s a sample of the exported curl request:

```auto
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://xxxxxxx.zoom.us/rec/download/xxxxxxxxxxxxxxxxxxxxxx",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_POSTFIELDS => "",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}

```

I’ve attempted debugging requests from yesterday and the output is still the same today.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 3, 2020, 5:47pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/15 "2020-03-03T17:47:12Z")

</div>

Hey @alex.jezior,

Thank you for sharing these details! I will pass these on to our engineers, and keep you updated.

Thanks for your patience,  
Tommy

---

<div class="post-metadata">

**Author:** ![Emanuel\_Aguirre](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@Emanuel\_Aguirre](https://devforum.zoom.us/u/Emanuel_Aguirre)\
**Post date:** [March 5, 2020, 5:31pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/16 "2020-03-05T17:31:47Z")

</div>

Hey guys, we are having this problem too since the start of month. Using v2, the file size is 0 Bytes. We are having complaints from customers.

¿have you found the problem? ¿any ETA?

---

<div class="post-metadata">

**Author:** ![Emanuel\_Aguirre](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@Emanuel\_Aguirre](https://devforum.zoom.us/u/Emanuel_Aguirre)\
**Post date:** [March 5, 2020, 5:57pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/17 "2020-03-05T17:57:39Z")

</div>

Native `file_get_contents($downloadURL)` does not work. I think the problem is when doing **stream** ¿maybe Zoom disabled this option?

Using GuzzleHttp\Client it **does work with stream = false**

```
$client = new Client([
    // 'stream' => true,
    'stream' => false,
    'allow_redirects' => true,
    'cookies' => true
]);

$response = $client->get($downloadURL);
$file = $response->getBody()->getContents();

```

To Zoom: ¿have you disabled streaming recordings?

---

<div class="post-metadata">

**Author:** ![videosocials](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/videosocials/32/1067_2.png) [@videosocials](https://devforum.zoom.us/u/videosocials)\
**Post date:** [March 5, 2020, 5:59pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/18 "2020-03-05T17:59:35Z")

</div>

Hey @tommy, I’m also getting the same issue.  
I was using the `copy($videoUrl, $fileUrl)` and it was working fine all these days and now stopped working. Always 0 bytes video.  
Please help what’s the problem.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 5, 2020, 6:31pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/19 "2020-03-05T18:31:32Z")

</div>

Hey @Emanuel_Aguirre, and @videosocials,

I have passed the info you shared to our cloud recording engineers. We are working to resolve the issue and will keep you updated.

Apologies for the inconvenience,  
-Tommy

---

<div class="post-metadata">

**Author:** ![alex.jezior](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alex.jezior/32/3798_2.png) [@alex.jezior](https://devforum.zoom.us/u/alex.jezior)\
**Post date:** [March 5, 2020, 7:36pm UTC](https://devforum.zoom.us/t/download-url-is-not-working/8348/20 "2020-03-05T19:36:05Z")

</div>

This is the resolution my team and I decide to go with as well. No time to wait around for a fix and I advise anyone else coming across this issue to use this method until Zoom figures things out on their end.

[Next page](https://devforum.zoom.us/t/download-url-is-not-working/8348.md?page=2)
