# Error 403 when downloading voicemail through returned download\_url

**URL:** <https://devforum.zoom.us/t/error-403-when-downloading-voicemail-through-returned-download-url/87035>\
**Category:** API and Webhooks\
**Created:** [April 20, 2023, 2:03am UTC](https://devforum.zoom.us/t/error-403-when-downloading-voicemail-through-returned-download-url/87035 "2023-04-20T02:03:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryota](https://avatars.discourse-cdn.com/v4/letter/r/c77e96/32.png) [@ryota](https://devforum.zoom.us/u/ryota)\
**Post date:** [April 20, 2023, 2:03am UTC](https://devforum.zoom.us/t/error-403-when-downloading-voicemail-through-returned-download-url/87035/1 "2023-04-20T02:03:20Z")

</div>

**Description**  
Hi there.  
I have a problem about downloading voicemail through returned download\_url.  
After getting voicemail download\_url via [phone.voicemail\_received](https://developers.zoom.us/docs/api/rest/reference/phone/events/#operation/phone.voicemail_received), I requested the url with OAuth access\_token which voicemail received user has like this.

```auto
access_token = {token}
download_url = https://zoom.us/v2/phone/voice_mails/download/8j6JfJUtTJG4kO_CPjgbQA

req = request.Request(
    url=download_url, data=None, headers={"Authorization": f"Bearer {access_token}"}
)
res = request.urlopen(req)

```

This was worked except for role of Members until about one or two weeks ago.  
I have not changed anything and all the other API work with same access\_token but only voicemail download\_url now returned 403.

**Error?**

```auto
{
    "code": 403,
    "message": "You do not have permission."
}

```

**How To Reproduce**  
I’ve already written above.

**Already tried**

And I’ve already read some similar topics and tried like these which didn’t work.  
Please help, thanks.

```auto
download_url = f'https://zoom.us/v2/phone/voice_mails/download/8j6JfJUtTJG4kO_CPjgbQA?access_token={access_token}'
download_url = f'https://zoom.us/v2/phone/voice_mails/download/8j6JfJUtTJG4kO_CPjgbQA?download_token={access_token}'

```

```auto
https://devforum.zoom.us/t/unable-to-download-voicemail-recording-through-returned-download-url/15764
https://devforum.zoom.us/t/recording-download-url-from-api-via-webhook-returns-error/15949
https://devforum.zoom.us/t/error-403-when-downloading-voice-mail-url/44315
https://devforum.zoom.us/t/permission-issue-while-downloading-voicemail/71608

```

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [April 21, 2023, 2:02pm UTC](https://devforum.zoom.us/t/error-403-when-downloading-voicemail-through-returned-download-url/87035/2 "2023-04-21T14:02:02Z")

</div>

Hi @ryota  
Thanks for reaching out to us!  
I am happy to help here!

I see you are having trouble downloading voicemail through the download URL, but you say that this was working about one or two weeks ago and you have not made any changes to your code, correct?

---

<div class="post-metadata">

**Author:** ![ryota](https://avatars.discourse-cdn.com/v4/letter/r/c77e96/32.png) [@ryota](https://devforum.zoom.us/u/ryota)\
**Post date:** [April 23, 2023, 10:49pm UTC](https://devforum.zoom.us/t/error-403-when-downloading-voicemail-through-returned-download-url/87035/3 "2023-04-23T22:49:15Z")

</div>

Hi, thank you for replying.

> [@elisa.zoom](#):
>
> I see you are having trouble downloading voicemail through the download URL, but you say that this was working about one or two weeks ago and you have not made any changes to your code, correct?

Yes.  
Could you check there are any changes about downloading voicemail, and request I sent is correct?

---

<div class="post-metadata">

**Author:** ![ryota](https://avatars.discourse-cdn.com/v4/letter/r/c77e96/32.png) [@ryota](https://devforum.zoom.us/u/ryota)\
**Post date:** [May 2, 2023, 12:34am UTC](https://devforum.zoom.us/t/error-403-when-downloading-voicemail-through-returned-download-url/87035/4 "2023-05-02T00:34:06Z")

</div>

@elisa.zoom  
Hi.  
Thank you for your supporting.  
What is the status of this?  
I would appreciate a reply as soon as possible as we are about to release our Zoom App.

Best regard.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 2, 2023, 5:47pm UTC](https://devforum.zoom.us/t/error-403-when-downloading-voicemail-through-returned-download-url/87035/5 "2023-05-02T17:47:39Z")

</div>

Hi @ryota  
Sorry for the late reply, unfortunately, I am not able to replicate this issue on my end.  
I am able to download the recording using the download url and an oauth access token.  
I will send you a private message so you can share more details about this issue with me and that way I will take a closer look

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [July 5, 2023, 1:50pm UTC](https://devforum.zoom.us/t/error-403-when-downloading-voicemail-through-returned-download-url/87035/6 "2023-07-05T13:50:46Z")

</div>

An update on this open issue, this was a bug on our end where using an access token generated by a User Level Oauth app was throwing an error when downloading voicemails.  
This bug has been fixed.

---

<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:** [July 8, 2024, 5:26am UTC](https://devforum.zoom.us/t/error-403-when-downloading-voicemail-through-returned-download-url/87035/7 "2024-07-08T05:26:49Z")

</div>

Closed on July 8, 2024, 5:26am UTC

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