# 302 error when downloading transcript

**URL:** <https://devforum.zoom.us/t/302-error-when-downloading-transcript/116968>\
**Category:** API and Webhooks\
**Created:** [September 5, 2024, 10:56am UTC](https://devforum.zoom.us/t/302-error-when-downloading-transcript/116968 "2024-09-05T10:56:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![imran2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/imran2/32/50176_2.png) [@imran2](https://devforum.zoom.us/u/imran2)\
**Post date:** [September 5, 2024, 10:56am UTC](https://devforum.zoom.us/t/302-error-when-downloading-transcript/116968/1 "2024-09-05T10:56:39Z")

</div>

Hi,

I am trying to store zoom meeting transcript in salesforce using webhook. i have configured eveything and gettng response in salesforce but ass soon as i am trying to make an api callout to download the script using ‘download\_url’ as an endpoint and ‘download\_token’ for Authorization so it is giving me 302 error while it is working fine in postman. can anyone please help me to get rid of this error.  
i have also tried below redirect/downloadURL approach:

redirect/downloadURL approach : [Calling Download URL from Salesforce Trigger results in 302 Error](https://devforum.zoom.us/t/calling-download-url-from-salesforce-trigger-results-in-302-error/70564)

below is the example apex code that i am using to make callout

HttpRequest req1 = new HttpRequest();  
req1.setEndpoint(‘[Passcode Required - Zoom](https://us06web.zoom.us/rec/webhook_download/3pqIGy-JkvfgBtct2yDDfaPPImB1ODJ02IVJ0HmEYsVrqxZCdxlaijvL4WlLL98Sq_jkaHVhlblGUhIh.iUB0tMq9eUhETHWP/pz1mMPSqcc9jNB5qytWpIGCfASi3zkp-yGLp6QoZzElOcO7uDMxsT-sApTQHRk8aDSWH61F7rvKIO58qYOsytmCsRhgWvzqXiMvuabxt94G-zH6c_wOGc8XV6EitiGwx6beiL6mEL8YYzXc2UzQvQXgQmk4-wZ4uBqwNVgtqSqCGoqMlEv_C_Vt96J4KHZ53LcoqQ1EvVxi_F2DkqXtZ0pgtgfC1y4Sp5M--liFeekEJWdkXGJSWYQjDMBMQP9cU85OIyIC05QWm-xMyNeBDfgp1wcoES2cFtp1lTsCax_x3fT2gta9PquPl_THeP5bYNrCHXzAYyapctXXZHHZ5gQ)’);  
req1.setMethod(‘GET’);  
req1.setHeader(‘Authorization’, ‘Bearer eyJzdiI6IjAwMDAwMSIsInptX3NrbSI6InptX28ybSIsInR5cCI6IkpXVCIsImFsZyI6IkVTMjU2In0.eyJhdWQiOiJXZWJSZWNEb3dubG9hZCIsImFjY291bnRJZCI6InM0blVVNUtKUXdTNTZJZHJFczVZQ0EiLCJpc3MiOiJFdmVudENvbnN1bWVyUmVjRG93bmxvYWQiLCJtaWQiOiI2ZHBKQnlPU1RDYTZaczE3WXBFUHd3PT0iLCJleHAiOjE3MjU2MDQ5NzQsImlhdCI6MTcyNTUxODU3NCwidXNlcklkIjoiVjc3WXpaRDRTMWk5X1ZOcjJHOUtGZyJ9.zgYfrbCCWuNBMARuP6cWo6pH7zY1xa3ocVKU1oAAj8W\_LThZQOaS2Kj7UDMVXQ39ZfT7ngbkGyvDIR\_9-JGBlQ’);  
Http http1 = new Http();  
HttpResponse res1 = http1.send(req1);  
System.debug('Status Code: ’ + res1.getStatusCode());  
if (res1.getStatusCode() == 200) {  
Blob fileContent = res1.getBodyAsBlob();  
String textData = fileContent.toString();  
system.debug(fileContent);  
System.debug(textData);  
}

Thanks

---

<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:** [September 9, 2025, 2:33am UTC](https://devforum.zoom.us/t/302-error-when-downloading-transcript/116968/2 "2025-09-09T02:33:17Z")

</div>

Closed on September 9, 2025, 2:33am UTC

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