开发者社区> 问答> 正文

这是怎么回事OSSExceptiontypeOSSEXCEPTION

文件没有上传 有这个错误

08-02 12:10:29.459: E/UploadToOSSService(21425): [onFailure] - upload 1438488114162_9a42e893ae43e8d90b2384ecf1594ba4.3gp failed!
08-02 12:10:29.459: E/UploadToOSSService(21425): OSSException type: OSS_EXCEPTION
08-02 12:10:29.459: E/UploadToOSSService(21425): statusCode: 404
08-02 12:10:29.459: E/UploadToOSSService(21425): objectKey: 1438488114162_9a42e893ae43e8d90b2384ecf1594ba4.3gp
08-02 12:10:29.459: E/UploadToOSSService(21425): requestId: 55BD9834A5AF03A003B459D1
08-02 12:10:29.459: E/UploadToOSSService(21425): responseCode: NoSuchUpload
08-02 12:10:29.459: E/UploadToOSSService(21425): responseMessage: The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.
08-02 12:10:29.459: W/System.err(21425): OSSException type: OSS_EXCEPTION
08-02 12:10:29.459: W/System.err(21425): statusCode: 404
08-02 12:10:29.459: W/System.err(21425): objectKey: 1438488114162_9a42e893ae43e8d90b2384ecf1594ba4.3gp
08-02 12:10:29.459: W/System.err(21425): requestId: 55BD9834A5AF03A003B459D1
08-02 12:10:29.459: W/System.err(21425): responseCode: NoSuchUpload
08-02 12:10:29.469: W/System.err(21425): responseMessage: The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.
08-02 12:10:29.469: W/System.err(21425):     at com.alibaba.sdk.android.oss.util.OSSToolKit.buildOssException(OSSToolKit.java:578)
08-02 12:10:29.469: W/System.err(21425):     at com.alibaba.sdk.android.oss.util.OSSToolKit.handleExceptionalResponse(OSSToolKit.java:614)
08-02 12:10:29.469: W/System.err(21425):     at com.alibaba.sdk.android.oss.storage.ResumableUploadTask.completeMultiPartUpload(ResumableUploadTask.java:299)
08-02 12:10:29.469: W/System.err(21425):     at com.alibaba.sdk.android.oss.storage.ResumableUploadTask.run(ResumableUploadTask.java:166)
08-02 12:10:29.469: W/System.err(21425):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
08-02 12:10:29.469: W/System.err(21425):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
08-02 12:10:29.469: W/System.err(21425):     at java.lang.Thread.run(Thread.java:818)

展开
收起
landrover 2015-08-02 13:20:55 9188 0
3 条回答
写回答
取消 提交回答
  • Re这是怎么回事OSSExceptiontypeOSSEXCEPTION
    空间没有这个文件,重新上传这个文件也是这种错误提示。

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

    Re这是怎么回事OSSExceptiontypeOSSEXCEPTION
    异步断点上传

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

    Re这是怎么回事OSSExceptiontypeOSSEXCEPTION
    应该是OSS SDK的 BUG吧   android
    2015-08-03 17:25:36
    赞同 展开评论 打赏
  • Re这是怎么回事OSSExceptiontypeOSSEXCEPTION
    发生在什么场景下?调用了哪个接口?重复再传一遍也是这样?
    2015-08-03 09:08:41
    赞同 展开评论 打赏
  • 看信息好像是重复上传

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

    换个只有一片的小文件断点传一下

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

    android可以吗?把你发出到网络的数据dump出来看下;

    2015-08-03 07:43:56
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载