[Python] An error occurred (InvalidRequest) when calling the DeleteObjects operation: Missing...

Discussão em 'Python' iniciado por Stack, Fevereiro 3, 2025.

  1. Stack

    Stack Membro Participativo

    While deleting a folder:

    boto3.resource('s3').Bucket(bucket_name).objects.filter(Prefix=f'{folder_path}/').delete()


    I am getting the following error:


    An error occurred (InvalidRequest) when calling the DeleteObjects operation: Missing required header for this request: Content-MD5
    ​

    Continue reading...

Compartilhe esta Página