I searched previous threads that showed this error but no resolution was put into any of the threads.
I’m trying to get an access token like so:
def get_zoom_access_token(client_id, client_secret):
token_url = "https://zoom.us/oauth/token"
payload = {
"grant_type": "client_credentials",
"client_id": client_id,
"client_secret": client_secret
}
try:
response = requests.post(token_url, data=payload)
if response.status_code == 200:
token_data = response.json()
access_token = token_data.get("access_token")
return access_token
else:
print("Error:", response.text)
return None
except Exception as e:
print("An error occurred:", str(e))
return None
i get a valid access token, but when i go to use it on a download url it gives me a 403:
Download failed. Status code: 403
Response content: {“code”:2031,“message”:“Zoom Phone has not been enabled for this account.”}
I don’t know why I’m getting this? The app is already integrated with zoom webhooks and nowhere in the app management menus do I see an option that looks like it will affect this. What am I supposed to do?