🪣 Amazon Bucket S3 => Can't Access objects => fatal error: An error occurred (451) when calling the HeadObject operation: Unavailable For Legal Reasons

1

Hi there 👋 !

We have a bucket name with the domain value as: bucket.companyABC.com. Unfortunately, we stopped using the domain "companyABC.com" and this domain does NOT exist anymore.

So, now Amazon Bucket S3 shows:

  • An SSL error when trying to access objects.
  • A "Unavailable For Legal Reasons" when trying to download or Sync objects to another bucket.

What I have tried:

  • Copy files skipping SSL verification locally does not work.
aws s3 cp s3://bucket.companyABC.com/file.jpg file.jpg --no-verify-ssl
urllib3/connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host 's3.sa-east-1.amazonaws.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
fatal error: An error occurred (451) when calling the HeadObject operation: Unavailable For Legal Reasons
  • Try so sync objects to another bucket. Didn't work either:
aws s3 sync s3://bucket.companyABC.com/ s3://newbucket.companyXYZ.com/ --no-verify-ssl
urllib3/connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host 's3.sa-east-1.amazonaws.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
fatal error: An error occurred (451) when calling the ListObjectsV2 operation: Unavailable For Legal Reasons

Other considerations:

  • My user has full S3 permissions.
  • In the AWS certificate manager, it shows that certificate status "Expired" for domain "bucket.companyABC.com".
  • We don't have access to domain "bucket.companyABC.com" anymore.

Any advise on how can we download the objects ?

Thank you ! Regards.

  • The error message you received, "An error occurred (451) when calling the HeadObject operation: Unavailable For Legal Reasons," indicates that access to the requested objects in your Amazon S3 bucket is restricted due to legal reasons. This error code, 451, is used to indicate that the server is denying access to the resource as a result of legal obligations.

    In this case, it suggests that there may be legal restrictions or compliance requirements in place that prevent access to the objects in the S3 bucket. This could be due to various reasons such as intellectual property rights, copyright infringement, privacy concerns, or other legal obligations.

    To resolve this issue, you will need to review the access permissions and ensure that you have the necessary rights and permissions to access the objects in the S3 bucket. If you believe this is an error or have questions regarding the restrictions, I recommend reaching out to the AWS Support team or the administrator of the S3 bucket for further assistance. They will be able to provide you with more specific guidance based on your situation.

已提問 1 年前檢視次數 473 次
3 個答案
0
已接受的答案

You should open up a case with AWS support.

profile pictureAWS
專家
kentrad
已回答 1 年前
0

Thanks, but I can't open a case. Technical support is not available for basic plans:

Enter image description here

已回答 1 年前
0

Thanks. Just did.

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南