录播时,不挂云存储路径时,可以正常录播,一旦加上设置 fileNamePrefix后,开始录播提示errMsg:start: fileNamePrefix validation failed!"

录播时,不挂云存储路径时,可以正常录播,一旦加上设置 fileNamePrefix后,开始录播提示errMsg:start: fileNamePrefix validation failed!",这块怎么设置,我用的是php cUrl方式,以下是PHP设置的变量值
$post_data = “{\n\t"cname”:"" . $cname . “”,\n\t"uid":"" . $uid . “”,\n\t"clientRequest":{\n\t\t"token":"" . $token . “”,\n\t\t"recordingConfig":{\n\t\t\t"maxIdleTime":30,\n\t\t\t"streamTypes":2,\n\t\t\t"audioProfile":1,\n\t\t\t"channelType":1,\n\t\t\t"videoStreamType":0,\n\t\t\t"transcodingConfig":{\n\t\t\t\t"width":480,\n\t\t\t\t"height":480,\n\t\t\t\t"fps":15,\n\t\t\t\t"bitrate":600,\n\t\t\t\t"mixedVideoLayout":1,\n\t\t\t\t"maxResolutionUid":“1”\n\t\t\t\t}\n\t\t\t},\n\t\t"storageConfig":{\n\t\t\t"vendor":2,\n\t\t\t"region":0,\n\t\t\t"bucket":"" . $this->config[‘agora_oss_bucket’] . “”,\n\t\t\t"accessKey":"" . $this->config[‘agora_oss_accesskey’] . “”,\n\t\t\t"secretKey":"" . $this->config[‘agora_oss_secretkey’] . “”,\n\t\t\t"fileNamePrefix":[“record”,"" . $cname . “”]\n\t\t}\t\n\t}\n} \n";

以下是错误代码
array(2) { [“code”]=> int(2) [“reason”]=> string(71) “response detail error:2,errMsg:start: fileNamePrefix validation failed!” }

以下是JSON数组,x代表隐藏信息
{
“cname”:“x”,
“uid”:x,
“clientRequest”:{
“token”:“x”,
“recordingConfig”:{
“maxIdleTime”:30,
“streamTypes”:2,
“audioProfile”:1,
“channelType”:1,
“videoStreamType”:0,
“transcodingConfig”:{
“width”:480,
“height”:480,
“fps”:15,
“bitrate”:400,
“mixedVideoLayout”:1,
“maxResolutionUid”:“1”
}
},
“storageConfig”:{
“vendor”:2,
“region”:0,
“bucket”:“x”,
“accessKey”:“x”,
“secretKey”:“x”
}
}
}

用postman获取code项里面会有很多\n\t缺少就不能调用成功,用JSON格式根本不行呀

比较着急,回复一下,谢谢管理

说明填写的 fileNamePrefix 参数有问题,你去掉试试看