Help Center > Object Storage Service > Console Operation Guide > Troubleshooting > Object URL Cannot Be Opened Using a Browser

Object URL Cannot Be Opened Using a Browser

Question

Why cannot an object URL be opened using a browser?

Answer

If the Bucket Policy rules forbid the user from accessing the object or Read is not assigned to Anonymous User in the ACL of the object, the user cannot open the object URL using a browser.

If Read for an object is assigned to Anonymous User but the Bucket Policy rules forbid the user from accessing the object, the user cannot open the object URL using a browser because the priority of Bucket Policy is higher than that of the ACL.

You can solve this problem as follows: (Perform 1 to 6 to assign Read for the object to Anonymous User. Perform 7 to 8 to check whether the Bucket Policy rules forbid the user from accessing the object.)

  1. Log in to OBS Console.
  2. In the bucket list, click the target bucket to go to the Summary page.
  3. In the navigation tree on the left, click Permission to go to the permission management page.
  4. In ACL, click Edit next to Anonymous User.
  5. Select Read next to Anonymous User.
  6. Click Save.
  7. Log in to OBS Console.
  8. In the bucket list, click the target bucket to go to the Summary page. In the navigation tree on the left, choose Permission > Bucket Policy and check whether the Bucket Policy rules forbid the user from accessing the object. If yes, delete the Bucket Policy rules and try again.
Registration