Recording API not working

Can you please explain why returns “Only .wav and .wave extension file formats are allowed.” in recording create API.FYI it is working in postman collection .But I am suffering for uploading recording.If you want I can share my code.

<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_SSL_VERIFYPEER => 0, CURLOPT_SSL_VERIFYHOST=>FALSE, CURLOPT_POSTFIELDS => array('id' => '1','token' => 'token','action' => 'create','reseller_id' => '','recording_name' => 'audio_r','accountid' => '30','audio_recording'=> new CURLFILE('/Downloads/Wav_868kb.wav')), CURLOPT_HTTPHEADER => array( 'x-auth-token: xtoken, 'Content-Type: multipart/form-data;' ), )); $response = curl_exec($curl); curl_close($curl); echo $response;

Hello Sharif,
It seems the path of wav file is not correct.

No,If path is not correct then we can get error our site.I confirmed path is correct