I am trying to retrieve a zoom audio recording from client’s account, I got the zoom token which I then used in the header for the actual call to get the recording, however I am getting 2031 error Zoom Phone has not been enabled for this account
Hi @Kim3
Thanks for reaching out to us and welcome to the Zoom Developer Forum.
Can you please confirm you have a phone license associated with your account?
It also looks like the way you are generating the access token might be incorrect.
Could you please share the request url you are sending when creating the token?
Hi Elisa, I have managed to get this one working by changing the grant_type from client_credentials to account_credentials, now I am able to get the actual recording from zoom on postman but now when I hit the webservice I have in salesforce from postman, I get this status found, statuscode=302 response, what do I need to change to actually get the recording? I found a similar issue but it doesn’t explicitly state what the solution is Calling Download URL from Salesforce Trigger results in 302 Error - #3 by rscheibert
Hi @Kim3
Thanks for reaching out to us again.
I am not able to replicate this issue on my end.
When using an access token as authorization, I get the 200 code and the recording back.
Are you using this integration? App Marketplace
Or could you point me to the integration you are using?
yes client has set up the necessary configuration there, though I’m not sure if there’s more they need to setup. But they did give us the account id, client id and secret which I have setup in the external credential in salesforce and used it in the callout for zoom token. This is a similar issue to this Calling Download URL from Salesforce Trigger results in 302 Error