七牛云iOS 端通过ALAsset上传多张照片库图片,上传失败

新手上路,请多包涵

调用- (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},求解决方案
阅读 4.2k
1 个回答
新手上路,请多包涵

补充服务器返回错误日志:
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 {

"Access-Control-Allow-Headers" = "X-File-Name, X-File-Type, X-File-Size";
"Access-Control-Allow-Methods" = "OPTIONS, HEAD, POST";
"Access-Control-Allow-Origin" = "*";
"Access-Control-Max-Age" = 2592000;
"Cache-Control" = "no-store, no-cache, must-revalidate";
Connection = close;
"Content-Length" = 23;
"Content-Type" = "application/json";
Date = "Sun, 06 Sep 2015 05:53:45 GMT";
Pragma = "no-cache";
Server = "nginx/1.4.4";
"X-Content-Type-Options" = nosniff;
"X-Log" = "s.ph;s.ph;s.ph;PFDS;PFDS;PFDS:1;PTFDM;rs14_7.sel:1;qtbl.ins:1/file exists;MQ;RS.not:;RS:3/614;rs.put:4/file exists;up:;UP:9/614";
"X-Reqid" = 9zYAANM8Cfi7TQEU;
"X-Via" = "1.1 lydx175:80 (Cdn Cache Server V2.0), 1.1 jxz34:6 (Cdn Cache Server V2.0)";

} }, 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)}

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题