# 124 Forbidden error while downloading Zoom cloud recordings callout

**URL:** <https://devforum.zoom.us/t/124-forbidden-error-while-downloading-zoom-cloud-recordings-callout/46309>\
**Category:** API and Webhooks\
**Created:** [March 23, 2021, 8:50am UTC](https://devforum.zoom.us/t/124-forbidden-error-while-downloading-zoom-cloud-recordings-callout/46309 "2021-03-23T08:50:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tkaub](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tkaub/32/24929_2.png) [@tkaub](https://devforum.zoom.us/u/tkaub)\
**Post date:** [March 23, 2021, 8:50am UTC](https://devforum.zoom.us/t/124-forbidden-error-while-downloading-zoom-cloud-recordings-callout/46309/1 "2021-03-23T08:50:04Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
we are trying to download a zoom cloud recording using callout but it is giving a 124 forbidden error.  
1- we are using JWT and passing it in the url  
2- activated the following option the admin settings

#### Prevent hosts from accessing their cloud recordings \>\> disabled (when activated it gives 401 forbidden error)

#### Cloud recording downloads ( = True )

Only the host can download cloud recordings (= Ture)

in simple English: If you directly open the download url in browser you are able to download it, it’s just it is not authenticating via callouts,

**Error**  
The full error message or issue you are running into.

{"status: false, “error code” : 124, “errorMessage” : “Forbidden”}

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

Knowing the endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

**Which Endpoint/s?**  
Knowing the API endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

download\_url?access\_token={JWT}

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Request URL / Headers (without credentials) / Body
2. See error

* * *

public static void downloadRecording(String jwtToken, String download\_url){  
Http http = new Http();  
HttpRequest req = new HttpRequest();  
req.setHeader(‘Content-Type’, ‘audio/mp4’);  
req.setMethod(‘GET’);  
req.setEndpoint(download\_url+’?access\_token=’+jwtToken);  
req.setTimeout(120000);  
HttpResponse res = http.send(req);  
}

* * *

**Screenshots (If applicable)**  
If applicable, add screenshots to help explain your problem.

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [March 24, 2021, 4:06pm UTC](https://devforum.zoom.us/t/124-forbidden-error-while-downloading-zoom-cloud-recordings-callout/46309/2 "2021-03-24T16:06:43Z")

</div>

Hi @tkaub,

Thank you for reaching out to us at Developer Support as well—we’ve received your request and a member of our team will be in touch there shortly.

Thanks,  
Will

---

<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:** [April 24, 2021, 2:06am UTC](https://devforum.zoom.us/t/124-forbidden-error-while-downloading-zoom-cloud-recordings-callout/46309/3 "2021-04-24T02:06:47Z")

</div>

Closed on April 24, 2021, 2:06am UTC

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