# Can't delete image that causes error

**URL:** <https://community.prismic.io/t/cant-delete-image-that-causes-error/1607>\
**Category:** Developing with Prismic\
**Tags:** graphql\
**Created:** [August 20, 2020, 11:49am UTC](https://community.prismic.io/t/cant-delete-image-that-causes-error/1607 "2020-08-20T11:49:08Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![development](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/development/32/193_2.png) [@development](https://community.prismic.io/u/development)\
**Post date:** [August 20, 2020, 11:49am UTC](https://community.prismic.io/t/cant-delete-image-that-causes-error/1607/1 "2020-08-20T11:49:08Z")

</div>

Netlify builds started failing with this error:

```
There was an error in your GraphQL query:
Unexpected error value: "url passed to createRemoteFileNode is either 
missing or not a proper web uri: 
https://images.prismic.io/ibbventures/68914a72-6309-4dae-b6bf-beffd117605f_01_The+Female+Company_Gründerinnen+Ann-Sophie+und+Sinja+©Linda+Ambrosius.jpg"

```

I'm using Gatsby and I assume this is happening because of the © symbol in the name.

To fix the issue I deleted the image. This has not fixed the problem. My builds are failing with the same error.

I know Prismic stores all previous version of documents but how do I resolve this issue with media causing bugs?

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [August 20, 2020, 7:09pm UTC](https://community.prismic.io/t/cant-delete-image-that-causes-error/1607/2 "2020-08-20T19:09:19Z")

</div>

Hello, welcome to the community forum!

Could you give me more information about this:

- Have you run the gatsby clean command to delete the cache of your project?
- Did you restored a version and now have problems with that one image?
- Also, if you could share the URL of your repository in a private message it’ll be very useful

---

<div class="post-metadata">

**Author:** ![development](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/development/32/193_2.png) [@development](https://community.prismic.io/u/development)\
**Post date:** [August 21, 2020, 8:38am UTC](https://community.prismic.io/t/cant-delete-image-that-causes-error/1607/3 "2020-08-21T08:38:42Z")

</div>

Yes, I deleted cache.

I have not been touching the code on this project when the client uploaded the image that caused the error so version of the code is not the problem.

I don’t know how to share something privately on here. I tried asking this question on Telecom but got batted away by Noor.

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [August 22, 2020, 12:13am UTC](https://community.prismic.io/t/cant-delete-image-that-causes-error/1607/5 "2020-08-22T00:13:54Z")

</div>

Hey, I’ve sent you a private message, let me know if you can see it 😃

---

<div class="post-metadata">

**Author:** ![development](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/development/32/193_2.png) [@development](https://community.prismic.io/u/development)\
**Post date:** [August 24, 2020, 1:36pm UTC](https://community.prismic.io/t/cant-delete-image-that-causes-error/1607/6 "2020-08-24T13:36:08Z")

</div>

I responded to your message last week. Is there any news regarding this?

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [August 25, 2020, 7:06pm UTC](https://community.prismic.io/t/cant-delete-image-that-causes-error/1607/7 "2020-08-25T19:06:45Z")

</div>

Hello!

I’m following the conversation in here and in the message. We’ve sent the file to the dev team so they can have a look at it, and delete it permanently.

Have you replaced the image field that you were using with anything else?

---

<div class="post-metadata">

**Author:** ![development](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/development/32/193_2.png) [@development](https://community.prismic.io/u/development)\
**Post date:** [August 27, 2020, 12:28pm UTC](https://community.prismic.io/t/cant-delete-image-that-causes-error/1607/8 "2020-08-27T12:28:47Z")

</div>

> [@Pau](#):
>
> the image field that you were using with anything else?

Nope. The data models have been stable for quite a while

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [September 24, 2020, 8:50pm UTC](https://community.prismic.io/t/cant-delete-image-that-causes-error/1607/11 "2020-09-24T20:50:51Z")

</div>

Hello, just to inform you that the file has been deleted from the cache of your repository's endpoint.

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [September 24, 2020, 8:50pm UTC](https://community.prismic.io/t/cant-delete-image-that-causes-error/1607/12 "2020-09-24T20:50:55Z")

</div>

This issue has been closed as it has been fixed, Flag if it is not the case for you to reopen.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 5:18pm UTC](https://community.prismic.io/t/cant-delete-image-that-causes-error/1607/13 "2021-12-09T17:18:21Z")

</div>


