# The delete request for media was denied due to a conflict. The entity is currently in use by: cms\_page (13)

**URL:** <https://forum.shopware.com/t/the-delete-request-for-media-was-denied-due-to-a-conflict-the-entity-is-currently-in-use-by-cms-page-13/92234>\
**Category:** Programmierung\
**Tags:** administration\
**Created:** [6. Januar 2022 um 09:14 UTC](https://forum.shopware.com/t/the-delete-request-for-media-was-denied-due-to-a-conflict-the-entity-is-currently-in-use-by-cms-page-13/92234 "2022-01-06T09:14:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hosono](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/hosono/32/14990_2.png) [@hosono](https://forum.shopware.com/u/hosono)\
**Post date:** [6. Januar 2022 um 09:14 UTC](https://forum.shopware.com/t/the-delete-request-for-media-was-denied-due-to-a-conflict-the-entity-is-currently-in-use-by-cms-page-13/92234/1 "2022-01-06T09:14:58Z")

</div>

Hallo,  
ich bekomme leider diesen Fehler, wenn ich ungenutzte Bilder löschen möchte:

`The delete request for media was denied due to a conflict. The entity is currently in use by: cms_page (13)`

Befehl:

```auto
php -d memory_limit=2G bin/console media:delete-unused

 Are you sure that you want to delete 48005 media files? (yes/no) [no]:
 > y

```

Sollte dieser Command nicht die Bilder finden die nicht genutzt werden? Die Fehlermeldung irritiert mich gerade.

Liebe Grüße Ryusei Hosono - HosonoDE

---

<div class="post-metadata">

**Author:** ![hosono](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/hosono/32/14990_2.png) [@hosono](https://forum.shopware.com/u/hosono)\
**Post date:** [6. Januar 2022 um 09:21 UTC](https://forum.shopware.com/t/the-delete-request-for-media-was-denied-due-to-a-conflict-the-entity-is-currently-in-use-by-cms-page-13/92234/2 "2022-01-06T09:21:36Z")

</div>

Wie finde ich die cms\_page (13), wofür steht die 13?

 ![Bildschirmfoto 2022-01-06 um 18.21.12](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/e/e8d1cd95f88c90ffb064d0f1e44eee0b3b9d2b3b.png)
