Error 403 when downloading voicemail through returned download_url

Description
Hi there.
I have a problem about downloading voicemail through returned download_url.
After getting voicemail download_url via phone.voicemail_received, I requested the url with OAuth access_token which voicemail received user has like this.

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?

{
    "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.

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}'
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

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?

Hi, thank you for replying.

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

@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.

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

1 Like

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.