同一个账号,其他APP没有问题,但在其中某一个APP中,无法上传AVFile。
在AV控制台中上传,一直等待,AVFile字段没有数据,_File中会新增数据,但点击提示:"error": "no such domain";
在代码中上传(ios SDK 3.3.1),同样报错
代码:[file saveInBackgroundWithBlock:^(BOOL succeeded, NSError *error) { }];
错误日志为:error Domain=AVNetworkingErrorDomain Code=-1011 "Expected status code in (200-299), got 631" UserInfo={AVNetworkingOperationFailingURLResponseErrorKey= { URL: https://up.qbox.me/mkfile/11314085/key/VkM4OFRWTWZNVmM0cFBieFNoemhMOEI=1 } { status code: 631, 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-Expose-Headers" = "X-Log, X-Reqid, X-Log, X-Reqid";
"Access-Control-Max-Age" = 2592000;
"Cache-Control" = "no-store, no-cache, must-revalidate";
Connection = "keep-alive";
"Content-Length" = 26;
"Content-Type" = "application/json";
Date = "Sat, 11 Jun 2016 08:50:28 GMT";
Pragma = "no-cache";
Server = "nginx/1.4.4";
"X-Content-Type-Options" = nosniff;
"X-Log" = "TBLMGR/612;RS:2/612;CFGG:4/612;UP:5/631;UP:7/631";
"X-Reqid" = "eDMAANCYSiVL-1YU, eDMAANCYSiVL-1YU";
} }, NSLocalizedRecoverySuggestion={"error":"no such bucket"}, NSErrorFailingURLKey=https://up.qbox.me/mkfile/11314085/key/VkM4OFRWTWZNVmM0cFBieFNoemhMOEI=, AVNetworkingOperationFailingURLRequestErrorKey= { URL: https://up.qbox.me/mkfile/11314085/key/VkM4OFRWTWZNVmM0cFBieFNoemhMOEI=1 }, NSLocalizedDescription=Expected status code in (200-299), got 631}
-
创建时间
16年6月11日
-
最后回复
16年6月11日
-
3
回复
-
2.0K
浏览
-
2
用户
-
2
链接