Accounts/me/billing throwing {"code":124,"message":"Invalid access token."} error

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

Description
I have created an OAuth app from my Zoom Admin account, when I try to access accounts API receiving {“code”:124,“message”:“Invalid access token.”} error.
Kindly help me on this, since we are in tight deadline for an internal project completion and this integration is a blocker for the same

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

error-result-guidance

This request requires authentication but does not specify the type of authentication expected HTTP/1.1 401 Next Steps

  • This integration is using a connected system with OAuth 2.0 Authorization Code authentication configured. You may need to authorize access to the external system and retry the request. [Click here to authorize]
  • Review the external system’’s documentation to see if alternate methods of authentication are available
  • For internal systems, contact an administrator to see if alternate methods of authentication are available

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

Which Endpoint/s?
https://api.zoom.us/v2/accounts/me/billing

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. Request URL / Headers (without credentials) / Body
  2. See error

Screenshots (If applicable)

Additional context
Add any other context about the problem here.

Hey @internal,

Thank you for reaching out to the Zoom Developer Forum. How are you providing your Access Token when you make this request? It looks like the tool you’re using may not be passing the OAuth Access Token correctly in the Authorization header.

Thanks,
Max

Thanks @MaxM, I am passing OAuth access token correctly in authorization header. Because the same api call works when I call below url, it is returning me successful response.

https://api.zoom.us/v2/users or https://api.zoom.us/v2/users/me

But when I try to change the URL to fetch my billing related or accounts related api, I am facing the above error.

Hey @internal,

Thank you for explaining! Please make sure that you have a Master Account and meet the other prerequisites in order to call this API:

If that doesn’t help, try using the Account ID when calling the API and let me know if that changes the behavior you’re seeing.

Thanks,
Max

Thanks @MaxM for your reply. I have a higher paid account (Business) but how to verify whether master account option is enabled?

Kindly help me on to check the same.

Thanks,

Hey @internal,

If your account is associated with the same email as your Dev Forum profile, I can confirm you don’t have a Master Account. You will need to reach out to partner-success@zoom.us to have this enabled, in order to use this endpoint.

Thanks,
Will

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