# File not removed from AWS S3 bucket

**URL:** https://forum.shopware.com/t/file-not-removed-from-aws-s3-bucket/101700
**Category:** Shopware 6 (English)
**Created:** [26. Oktober 2023 um 07:12 UTC](https://forum.shopware.com/t/file-not-removed-from-aws-s3-bucket/101700 "2023-10-26T07:12:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sander1](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sander1](https://forum.shopware.com/u/sander1)
#### Post date: [26. Oktober 2023 um 07:12 UTC](https://forum.shopware.com/t/file-not-removed-from-aws-s3-bucket/101700/1 "2023-10-26T07:12:48Z")

</div>

I’m able to upload images to the configured S3 bucket. However, when I remove a file using the media admin page, the file is not removed from the S3 bucket.

This is my configuration:

```auto
    filesystem:
      public:
        type: "amazon-s3"
        url: "%aws.s3.url%"
        config:
          bucket: "%aws.s3.bucket%"
          region: "%aws.s3.region%"
          endpoint: "%aws.s3.endpoint%"
          credentials:
            key: "%aws.s3.key%"
            secret: "%aws.s3.secret%"

```
