124 Forbidden error while downloading Zoom cloud recordings callout

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

Description
we are trying to download a zoom cloud recording using callout but it is giving a 124 forbidden error.
1- we are using JWT and passing it in the url
2- activated the following option the admin settings

Prevent hosts from accessing their cloud recordings >> disabled (when activated it gives 401 forbidden error)

Cloud recording downloads ( = True )

Only the host can download cloud recordings (= Ture)

in simple English: If you directly open the download url in browser you are able to download it, itā€™s just it is not authenticating via callouts,

Error
The full error message or issue you are running into.

{"status: false, ā€œerror codeā€ : 124, ā€œerrorMessageā€ : ā€œForbiddenā€}

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

Knowing the endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

Which Endpoint/s?
Knowing the API endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

download_url?access_token={JWT}

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

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

public static void downloadRecording(String jwtToken, String download_url){
Http http = new Http();
HttpRequest req = new HttpRequest();
req.setHeader(ā€˜Content-Typeā€™, ā€˜audio/mp4ā€™);
req.setMethod(ā€˜GETā€™);
req.setEndpoint(download_url+ā€™?access_token=ā€™+jwtToken);
req.setTimeout(120000);
HttpResponse res = http.send(req);
}


Screenshots (If applicable)
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Hi @tkaub,

Thank you for reaching out to us at Developer Support as wellā€”weā€™ve received your request and a member of our team will be in touch there shortly.

Thanks,
Will

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