forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lai, Weijian <laiweijian4@huawei.com> Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
3.4 KiB
3.4 KiB
What Should I Do If Error "stat:403 reason:Forbidden" Is Displayed in Logs When a Training Job Accesses OBS
Possible Causes
The possible causes are as follows:
- The OBS permission is incorrect. As a result, data cannot be read.
Solution
Verify that OBS permissions are correctly assigned. If the problem persists, troubleshoot by following the instructions provided in "Why Can't I Access OBS (403 AccessDenied) After Being Granted with the OBS Access Permission?".
Summary and Suggestions
Before creating a training job, use the ModelArts development environment to debug the training code to maximally eliminate errors in code migration.
- If an error occurred in OBS, identify the cause based on the error information, including the error code and message. For details about OBS error codes, see Python > Troubleshooting > OBS Server-Side Error Codes in Object Storage Service SDK Reference.
Parent topic: Permission Issues