# Strange message: "Error cleaning up: (HTTP code 409) conflict - conflict: unable to delete (cannot be forced)"

**URL:** <https://forums.balena.io/t/strange-message-error-cleaning-up-http-code-409-conflict-conflict-unable-to-delete-cannot-be-forced/5208>\
**Category:** Product support\
**Created:** [February 5, 2019, 12:49am UTC](https://forums.balena.io/t/strange-message-error-cleaning-up-http-code-409-conflict-conflict-unable-to-delete-cannot-be-forced/5208 "2019-02-05T00:49:10Z")\
**Posts on this page:** 1\
**Showing post:** 44

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [February 12, 2019, 4:12pm UTC](https://forums.balena.io/t/strange-message-error-cleaning-up-http-code-409-conflict-conflict-unable-to-delete-cannot-be-forced/5208/44 "2019-02-12T16:12:26Z")

</div>

Hey @daghemo a small change, the delete has to be done not with `<imageID>` but by the tag, then it will work. here’s the exact way of doing that these 4 lines, and the cleanup should succeed:

```auto
IMG="$(balena images | grep 'resin/\|balena/' | grep supervisor | grep none | awk '{print $3}')"
REPO="$(balena images | grep 'resin/\|balena/' | grep supervisor | grep none | awk '{print $1}')"
balena tag $IMG $REPO:foobar
balena rmi $REPO:foobar

```

---

_[View the full topic](https://forums.balena.io/t/strange-message-error-cleaning-up-http-code-409-conflict-conflict-unable-to-delete-cannot-be-forced/5208)._
