Why Error: 403 Forbidden Is Displayed When I Perform Operations on OBS?
Symptom
Message "Error: stat:403" is displayed when I use mox.file.copy_parallel in a notebook instance to perform operations on OBS.
Possible Causes
- ModelArts uses an AK/SK for authentication globally and the AK/SK has been deleted and recreated.
- You do not have the permission to access OBS buckets.
Solution
- For cause 1, go to the global configuration page and reconfigure an AK/SK.
- For cause 2, log in to the OBS console, search for the target OBS bucket, and click the bucket name to go to the Overview page. In the left navigation pane, choose Permissions > Bucket ACLs. On the Bucket ACLs page that is displayed, check whether the current account has the read and write permissions. If it does not, contact the bucket owner to grant the permissions.
Figure 2 Bucket ACLs
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.