Problem I do not get an accepted video file for vimeo

Hello, my problem is this. My PHP Script can currently get all the recordings and upload them to vimeo, the problem is that some are uploaded with a content not accepted by vimeo, although they are all .mp4, but I am currently filtering by a size limit and excluding the types of recordings , to only upload the indicated for vimeo.

private function getGrabacionesZOOM($meetingID,$nameMeeting,$cuenta,$fecha_reunion){
        $url_ZOOM="https://api.zoom.us/v2/meetings/$meetingID/recordings";
        $token=  $this->generateJWT();
        $curl = curl_init();
        curl_setopt_array($curl, array(
          CURLOPT_URL => $url_ZOOM,
          CURLOPT_RETURNTRANSFER => true,
          CURLOPT_ENCODING => "",
          CURLOPT_MAXREDIRS => 10,
          CURLOPT_TIMEOUT => 30,
          CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
          CURLOPT_CUSTOMREQUEST => "GET",
          CURLOPT_HTTPHEADER => array(
            "authorization: Bearer $token",
            "content-type: application/json"
          ),
        ));
        
        $response = curl_exec($curl);
        curl_close($curl);
        //var_dump($response);
	
        $response_data=json_decode($response,true);
        $filtro= null;
        $num=0;
        
        if(!empty($response_data['recording_files'])){
            foreach($response_data['recording_files'] as $grabacion){
                if(isset($grabacion["id"])){
                    $nombreID=$grabacion["id"];
                    $urlDescarga=$grabacion["download_url"];
                    $tipo_grabacion=$grabacion["file_type"];
                    
                    
                        if($grabacion["file_size"] >= 2000000){
                            if($this->filtrar_archivo($tipo_grabacion)){
                                //if($this->filtrar($nombreID, $filtro)){
                                    //$this->uploadGrabacionesV($urlDescarga, $nombreID, $nameMeeting,$cuenta, $fecha_reunion);
                                   // $num++;
                                //}
                            }
                            print ('este es el tipo aceptado'.$grabacion["recording_type"]);
                            print('es mayor a 2mb '.$grabacion["file_size"]);
                        }else{
                            print ('este es el tipo aceptado'.$grabacion["recording_type"]);
                            print('es menor a 2mb '.$grabacion["file_size"]);
                        }
                    
                }else{
                   /*Por alguna razon se obtiene una grabacion sin id y por lo tanto esta no existe
                    * Porque el id es el identificador unico de cada grabacion y si una no lo tiene 
                    * NO EXISTE
                    */
                }

            }
        }
        
       
         
    }

I did a test I uploaded a video recording that weighs more than 2 mb, but when I get its type, it tells me that it is:

shared_screen_with_speaker_view

But when uploading it to vimeo, it does not accept it?

Thank you and I hope your support.

Hi @profesor,

Can you please let us know the error that you are receiving while uploading it to Vimeo?

Thanks

Hello, thanks for answering.

I have no problem loading vimeo, only the only inconvenient is that I do not know, in truth what type of recording is a video or file valid by vimeo? because I have a file type filter and all the filtered files are mp4, but some are not accepted by vimeo.

Since the documentation shows different types of recordings. Currently, I am trying to load Vimeo is shared_screen_with_speaker_view but Vimeo tells me that it is an unaccepted video?

Hi @profesor,

it seems your issue is related to Vimeo, and not Zoom. I would recommend you to contact Vimeo Support for more details.

Thanks!