调用- (void) putALAsset:(ALAsset *)asset
key:(NSString *)key
token:(NSString *)token
complete:(QNUpCompletionHandler)completionHandler
option:(QNUploadOption *)option
方法上传多张图片库图片,部分图片(9张图片只有1,2张能上传成功)上传到95%时就上传失败,七牛服务器返回error信息如下:Error Domain=qiniu.com Code=614 "未能完成操作。(“qiniu.com”错误 614。)" UserInfo=0x170c7b240 {error=file exists},求解决方案
补充服务器返回错误日志:
Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: server error (614)" UserInfo=0x1700fbe00 {com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x1746214a0> { URL: http://180.97.211.36:80/mkfile/2195860/mimeType/YXBwbGljYXRpb24vb2N0ZXQtc3RyZWFt/key/MTQ0MTUxNzk5MTM3NC5qcGc= } { status code: 614, headers {
} }, NSErrorFailingURLKey=http://180.97.211.36:80/mkfile/2195860/mimeType/YXBwbGljYXRpb24vb2N0ZXQtc3RyZWFt/key/MTQ0MTUxNzk5MTM3NC5qcGc=, com.alamofire.serialization.response.error.data=<7b226572 726f7222 3a226669 6c652065 78697374 73227d>, NSLocalizedDescription=Request failed: server error (614)}