I am trying to delete multiple object once by using delete_objects. But i am getting an error. I didn’t found any solution regarding to this issue.

client = boto3.client("s3", **cfg)

        response = client.delete_objects(
                        'Objects': [
                                'Key': 'asdasd1.png',
                                'Key': 'asdasd1.png',

I get an error like this:

An error occurred (NotImplemented) when calling the DeleteObjects operation: Unknown
INFO: - "DELETE /image/ HTTP/1.1" 500 Internal Server Error
Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!