开发者社区> 问答> 正文

One or more of the specified parts could not be found or the specified entity tag might not have matched the part's entity tag

采用了文章:https://cnodejs.org/topic/570f8961400ca111729e8858?spm=5176.doc32070.2.5.sAkOgk
成功完成的图片文件上传的任务,但有些瑕疵:

  1. 在上传某些图片时,就会报错:

POST http://xxx-xxx.oss-cn-hangzhou.aliyuncs.com/object?uploadId=7EC2961FB4044BDD81913B27212362AE 400 (Bad Request)
aliyun-oss-sdk.min.js:4 Uncaught (in promise) Error: One or more of the specified parts could not be found or the specified entity tag might not have matched the part's entity tag.

at o.<anonymous> (http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js:4:16188)
at i (http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js:6:23661)
at u._invoke (http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js:6:25098)
at u.e.(anonymous function) [as next](http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js:6:23840)
at i (http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js:6:23661)
at u._invoke (http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js:6:24720)
at u.e.(anonymous function) [as next](http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js:6:23840)
at a (http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js:9:25589)

======================================================

  1. 在上传 mp4文件时,会报错:

POST http://fs-profile.oss-cn-hangzhou.aliyuncs.com/object?uploadId=8AC8B8A21BFC47D9997DC4D273517EA3 400 (Bad Request)
aliyun-oss-sdk.min.js:4 Uncaught (in promise) Error: One or more of the specified parts could not be found or the specified entity tag might not have matched the part's entity tag.

at o.<anonymous> (http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js:4:16188)
at i (http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js:6:23661)
at u._invoke (http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js:6:25098)
at u.e.(anonymous function) [as next](http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js:6:23840)
at i (http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js:6:23661)
at u._invoke (http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js:6:24720)
at u.e.(anonymous function) [as next](http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js:6:23840)
at a (http://gosspublic.alicdn.com/aliyun-oss-sdk.min.js:9:25589)
           (anonymous function)    @ aliyun-oss-sdk.min.js:4
           i                                      @ aliyun-oss-sdk.min.js:6
           (anonymous function)    @ aliyun-oss-sdk.min.js:6
           e.(anonymous function) @ aliyun-oss-sdk.min.js:6
           i                                      @ aliyun-oss-sdk.min.js:6
           (anonymous function)    @ aliyun-oss-sdk.min.js:6
           e.(anonymous function) @ aliyun-oss-sdk.min.js:6
           a                                     @ aliyun-oss-sdk.min.js:9

======================================================

其实这两错几乎一样,请问为什么?报错的图片及mp4就在文章下方,我下载再次试过,还是报同样的错
注:70e6e3272a7748b7a2795266fd8973f5d95c3d2f.png,是mp4下载后请修改文件扩展名

p104_
1

展开
收起
jeffrey_阳光 2016-07-16 22:29:35 12653 0
5 条回答
写回答
取消 提交回答
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Apache Wicket User Guide - Ref 立即下载
Why you should care about data layout in the file system 立即下载
How to Build a Successful Data 立即下载