🪣 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.

질문됨 일 년 전473회 조회
3개 답변
0
수락된 답변

You should open up a case with AWS support.

profile pictureAWS
전문가
kentrad
답변함 일 년 전
0

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

Enter image description here

답변함 일 년 전
0

Thanks. Just did.

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠