Unsupported_grant_type while refresh token

<?php require_once 'config.php'; function get_data_refresh_token_post_api($token_key='ZGFDS',$post_field=""){ $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://zoom.us/oauth/token", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_SSL_VERIFYHOST => false, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST =>'POST', CURLOPT_POSTFIELDS =>$post_field, CURLOPT_HTTPHEADER => array( "Host: zoom.us", "Authorization: Basic ".$token_key, "Content-Type: application/x-www-form-urlencoded", ), )); $response = curl_exec($curl); $err = curl_error($curl); return $response; } $refresh_token="refresh token"; $filedarra=array( 'refresh_token'=>$refresh_token, 'grant_type'=>'refresh_token', ); $basic = base64_encode(CLIENT_ID.':'.CLIENT_SECRET); echo get_data_refresh_token_post_api($basic,$filedarra);

Thank you for posting in the Zoom Developer Forum! To begin, can you share the following information :

API Endpoint


Which Android Meeting SDK version?


How To Reproduce:

Troubleshooting Routes

Additional context:
Any additional information you can give us such as screenshots or screen recording:

This information will help us provide a more personalized response.