Getting more information about an 'Invalid Access Token' error

Using this template helps us debug your issues more effectively :slight_smile:

Description
We have an issue with a specific customer not being able to access recording or voicemail endpoints - let’s say for example https://api.zoom.us/v2/phone/recordings. The response is a 401, with “Invalid access token”

Becuase this is a 401 and not a 403 I considered that there could be a bug in our code, but we have validated that it’s a problem with specific customer (others, and our own test accounts are working fine).

Is it possible to get any more information as to what is going on here? The access token is able to call other endpoints, so it’s a correctly formatted token - we would like to be able to provide some more direct advice than “The user who installed the app does not seems to be missing some permissions that we cannot tell you”

Error
{“code”:124,“message”:“Invalid access token.”}

Which App Type (OAuth / Chatbot / JWT / Webhook)?
Oauth app

Which Endpoint/s?
https://api.zoom.us/v2/phone/recordings
https://api.zoom.us/v2/phone/users/xxxxx-user-id-xxxxx/voice_mails

How To Reproduce (If applicable)
Cannot reproduce with test accounts, is related to a specific app install.

Screenshots (If applicable)
N/A

Additional context
Is there any way I can add a tracking header to perform the request to get a bit more insight into specifically why this is failing?

Much appreciated

Ok, so we found the solution in this case - the user who auth’d the app was on a trial license for zoom phone (with full access to other apps). That they had other licenses explained how e.g. meeting recordings for them was ok.

It would be really good if this situation could have a better presentation or some more info in the response to help us, but this is no longer an active issue for us.

1 Like

Hi @david.bennington ,

Thank you for updating us on this issue. Happy you were able to resolve and we appreciate the feedback about this particular error!

Gianni

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