0024-00000001

Updated at:

Description

OSS returns a 403 error when you perform operations related to OSS-HDFS.

Possible cause

OSS-HDFS is not enabled for your bucket.

Example

A 403 error will be returned if you execute the following command on examplebucket for which OSS-HDFS is not enabled.

hdfs dfs -put examplefile.txt oss://examplebucket.cn-hangzhou.oss-dls.aliyuncs.com/

Solution

Enable OSS-HDFS for the bucket by using the OSS console.

References

For more information, see Activate OSS-HDFS Service.