When you access an OSS resource and receive an AccessDenied error, the object may be blocked due to a content violation rather than a missing permission. This article explains the cause and how to restore access.
Problem description
The resource is inaccessible, as shown in the following figure. You cannot view, download, or modify it in the console.

When you attempt to delete the resource, the following error is returned.
Error: oss: service returned
error: StatusCode=403,
ErrorCode=AccessDenied,
ErrorMessage="You do not have write permission on this object."
RequestId=5E7B0DE494D2DC3139B6F616
Cause
The error is not caused by an OSS permission misconfiguration. The resource has been blocked because it contains content that violates laws or regulations. When a resource URL is blocked, OSS sends an SMS notification to the account owner.
Solution
Go to the Internet Harmful Information page to view the blocked URLs and violation details.
Remove all prohibited content from your server, including files or pages identified in the notification and any related content not explicitly listed.
SSH into your server and delete the prohibited files by following the URL paths in the violation report.
After removing all prohibited content, submit an unblocking request.
See also
Internet Harmful Information Description
Applicable to
OSS
CDN