<?xml version="1.0" encoding="UTF-8"?>
<Error>
<Code>InvalidPart</Code>
<Message>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.</Message>
<RequestId>5B54AD7F07B995F5CEF60349</RequestId>
<HostId>links-comment.oss-cn-beijing.aliyuncs.com</HostId>
<ETag>undefined</ETag>
<PartNumber>1</PartNumber>
<UploadId>B05FDCE070B64A5D897F91AA815402EE</UploadId>
</Error>
有时候上传图片会出现 InvalidPart 的错误。需要在 OSS bucket 上设置一下 `expose headers`
- 将expose headers设置成 etag x-oss-request-id
https://help.aliyun.com/document_detail/32069.html?spm=a2c4e.11153987.0.0.2b0711937l7Coe
https://help.aliyun.com/document_detail/32005.html?spm=a2c4e.11155515.0.0.oQV3GW
```
<?xml version="1.0" encoding="UTF-8"?>
<Error>
<Code>InvalidPart</Code>
<Message>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.</Message>
<RequestId>5B54AD7F07B995F5CEF60349</RequestId>
<HostId>links-comment.oss-cn-beijing.aliyuncs.com</HostId>
<ETag>undefined</ETag>
<PartNumber>1</PartNumber>
<UploadId>B05FDCE070B64A5D897F91AA815402EE</UploadId>
</Error>
```
有时候上传图片会出现 InvalidPart 的错误。需要在 OSS bucket 上设置一下
expose headers
https://help.aliyun.com/document_detail/32069.html?spm=a2c4e.11153987.0.0.2b0711937l7Coe
https://help.aliyun.com/document_detail/32005.html?spm=a2c4e.11155515.0.0.oQV3GW