šŸŖ£ 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.

posta un anno fa473 visualizzazioni
3 Risposte
0
Risposta accettata

You should open up a case with AWS support.

profile pictureAWS
ESPERTO
kentrad
con risposta un anno fa
0

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

Enter image description here

con risposta un anno fa
0

Thanks. Just did.

con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande