[zoho creator v2 api] File upload error

[zoho creator v2 api] File upload error

I would like to use the V2 API to upload files, but the following test code gives me an error.
////////////////////////////
code:3660
message:No file found in the request.
Please include a file and try again.
////////////////////////////
 Please let me know how to fix this....

--------------------------------

$url =
'https://creator.zoho.com/api/v2/〇//report//<ID>/prof_img/upload'

if ($_FILES['prof_img']['error'] === 0) {
$cfile =
curl_file_create($_FILES['prof_img']['tmp_name'],$_FILES['prof_img']['type'],$_FILES['prof_img']['name']);
$data3 = upload_file($url3,$token,$cfile);
$header = [
'Content-Type:multipart/form-data;',
sprintf('Authorization: Zoho-oauthtoken %s', $token)
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, array('file' => $cfile));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$result = curl_exec($ch);
var_dump($result);
curl_close($ch);
$data = json_decode($result,true);
}
--------------------------------
↓↓ result ↓↓
--------------------------------
array(37) {
["url"]=> string(118)
"https://creator.zoho.com/api/v2/〇//report//<ID>/prof_img/upload"
["content_type"]=> string(30) "application/json;charset=UTF-8"
["http_code"]=> int(200)
["header_size"]=> int(800)
["request_size"]=> int(450)
["filetime"]=> int(-1)
["ssl_verify_result"]=> int(0)
["redirect_count"]=> int(0)
["total_time"]=> float(1.864716)
["namelookup_time"]=> float(0.00053)
["connect_time"]=> float(0.091462)
["pretransfer_time"]=> float(0.281463)
["size_upload"]=> float(12642)
["size_download"]=> float(92)
["speed_download"]=> float(49)
["speed_upload"]=> float(6782)
["download_content_length"]=> float(92)
["upload_content_length"]=> float(12642)
["starttransfer_time"]=> float(0.371934)
["redirect_time"]=> float(0)
["redirect_url"]=> string(0) ""
["primary_ip"]=> string(14) "XXX.XXX.XXX.XXX"
["certinfo"]=> array(0) { }
["primary_port"]=> int(443)
["local_ip"]=> string(12) "YYYY.YYYY.YYYY.YYYY"
["local_port"]=> int(39480)
["http_version"]=> int(2)
["protocol"]=> int(2)
["ssl_verifyresult"]=> int(0)
["scheme"]=> string(5) "HTTPS"
["appconnect_time_us"]=> int(281374)
["connect_time_us"]=> int(91462)
["namelookup_time_us"]=> int(530)
["pretransfer_time_us"]=> int(281463)
["redirect_time_us"]=> int(0)
["starttransfer_time_us"]=> int(371934)
["total_time_us"]=> int(1864716)
}
array(1) {
["file"]=> object(CURLFile)#1 (3) {
["name"]=> string(18) "/var/tmp/phpEZainJ"
["mime"]=> string(9) "image/png"
["postname"]=> string(8) "test.png"
}
}
string(92) "{"code":3660,"message":"No file found in the request. Please
include a file and try again."}"