Download URL is not working

Hello, tommy
I’m going to save stream from zoom download link and to upload it to aws s3 in node.js.
but I am getting error when I try to get file from download link

const download_url = meeting.recording_files[0].download_url + ‘?access_token=’ + zoomAccessToken;

request({

headers: {

  'Authorization': 'Bearer ' + zoomAccessToken,

  'Content-Type': 'application/json'

},

uri: download_url,

method: 'GET'

}, function (err, response, body) {

if (err) {

  return res.status(500).send({ error: true, errorObj: err });

} else {

  res.status(200).send({ daba: body, error: false });

}

})

zoomAccessToken is a token I got it from Oauth.
It gives following error.
{“status”:false,“errorCode”:401,“errorMessage”:“Forbidden”}
Looking forward to hearing from you.
Thank you.

Hi @zeeshanahmed,

Please try removing your authorization bearer header, and only use the ?access_token= method of authentication by appending the token to the download_url.

Let me know if this helps—thanks!
Will

1 Like

i have also 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"}

@tommy @will.zoom :sparkles: could you help us with this error?

@fcedillo,

Thanks for posting, the topic is different from the behavior you described, We kindly ask can you create a new topic for this matter.

Best,
Donte

1 Like

Thank you donte.S

I have created a new topic: Recordings' Download URL responds error 1001: Forbidden

Thanks for the heads up, @fcedillo ! I’ve replied to you in the new topic.

Donte