问题原因

阿里云OSS无法使用图片URL访问,访问时提示下载

访问oss生成的图片路径,访问被禁止,返回一堆错误的xml文件

问题展示

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>AccessDenied</Code>
<Message>
You have no right to access this object because of bucket acl.
</Message>
<RequestId>5BCD96982327B532D3303199</RequestId>
<HostId>miaoqs.oss-cn-hangzhou.aliyuncs.com</HostId>
</Error>

解决办法

解决阿里云OSS无法使用图片URL访问,访问时提示下载

演示解决结果

解决阿里云OSS无法使用图片URL访问,访问时提示下载

 

相关文章:

  • 2021-10-07
  • 2022-12-23
  • 2021-05-14
  • 2021-04-15
  • 2022-02-09
  • 2021-05-04
猜你喜欢
  • 2021-12-20
  • 2021-07-03
  • 2022-02-07
  • 2021-08-12
  • 2021-11-19
  • 2021-06-21
  • 2022-12-23
相关资源
相似解决方案