Download Zoom Phone Voicemail Fails 403 300

Curious. We attempt to download Zoom Phone Voice Mails but often get these errors.

Code: 403, Message: You do not have permission.

Code: 300, Message: Validation Failed.

We hit the download url this way.

var request = new HttpRequestMessage(HttpMethod.Get, voiceMailDownloadUrl);
request.Headers.Authorization = new AuthenticationHeaderValue(“Bearer”, token);

I know that we are getting some downloads, because we upload them to our S3 buckets afterwards, and I can find them there. I haven’t logged the payloads yet ( we respond to webhook notifications) , but curious what this could be.

Scopes : phone:read:list_voicemails:admin, phone:read:voicemail:admin

A separate issue on voicemails:

I checked a users voicemails via https://api.zoom.us/v2/phone/users/{user}/voice_mails and it says they have 6 voicemails for the day. But we have 8 unique voicemails for that day uploaded to s3. So we received more notifications of voicemail completed than getting the logs from Zoom show. I’m curious why the logs don’t show all voicemails?

TLDR : Webhooks shows more voicemails than API call.

Could it be that we can’t download a voicemail if someone is listening to them ? Also do they drop off the log if “status”: “unread” becomes “read” . As I don’t see any with this status on them.

I just did a test and left myself a voicemail. If I as a user delete the voicemail, it is removed entirely from Zoom. This could be related to our issues. IE someone listens to the recording, delete it, then we try to download it from Zoom. Which may or may not be able to download in this state.

Hey @app.auditsystems.pro
Thanks for reaching out to us! I am happy to look further into this issue
You mentioned that you are getting a 403 error code “You do not have permission.”
But you are successfully uploading the voicemails to your S3 bucket.
Could you please get me the entire payload of a webhook you received and you were not able to downaload the voicemail so I can take a closer look