# Failed to fetch - what's wrong?

**URL:** <https://forum.getkirby.com/t/failed-to-fetch-whats-wrong/20497>\
**Category:** Questions\
**Tags:** v3\
**Created:** [December 23, 2020, 1:12pm UTC](https://forum.getkirby.com/t/failed-to-fetch-whats-wrong/20497 "2020-12-23T13:12:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hww](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/hww/32/9526_2.png) [@hww](https://forum.getkirby.com/u/hww)\
**Post date:** [December 23, 2020, 1:12pm UTC](https://forum.getkirby.com/t/failed-to-fetch-whats-wrong/20497/1 "2020-12-23T13:12:19Z")

</div>

Hi,

I’m developing a Kirby 3 application on my local machine. I re-organized a particular blueprint yesterday shortly before I left. In the panel, the blueprint worked, but still having some bugs in it. This morning, when I tried to load the panel in order to re-check what has to be changed in my blueprint, I could not get into the panel. Instead there was that nasty message saying “Failed to fetch”, and nothing else.

When I try to access the panel, I get the following error messages in the Chrome developer’s console:

 ![grafik](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/7/7c9d9064e0fc0362075fdfb7515566e0232f0e48.png)

Furthermore, no image whatsoever gets displayed in the frontend. There seems to be a general issue with the `media` folder. What I see on the Chrome developer’s console when I first navigate to the home page in the frontend:  
(I cannot post this one due to me being a new user to the forum. But I could provide this on request.)

Perusing some of the topics in this forum, I didn’t get a clue either, because the reasons and the remedies I could see so far do not apply to my situation - at least do I not see how these could help me.

Any suggestions / help will be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [December 23, 2020, 3:46pm UTC](https://forum.getkirby.com/t/failed-to-fetch-whats-wrong/20497/2 "2020-12-23T15:46:33Z")

</div>

Based on the other errors (those pointing to the API), I would assume something is rather wrong with the server that it can’t be reached.

How are you running Kirby locally? Built-in PHP, Valet, Mamp… anything?

---

<div class="post-metadata">

**Author:** ![hww](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/hww/32/9526_2.png) [@hww](https://forum.getkirby.com/u/hww)\
**Post date:** [December 23, 2020, 4:03pm UTC](https://forum.getkirby.com/t/failed-to-fetch-whats-wrong/20497/3 "2020-12-23T16:03:07Z")

</div>

I totally agree - something very basic must be fishy. But the server is IMHO not the problem.  
I run a local apache server in a wsl environment (Ubuntu 18.04). It is perfectly reachable, all parts of the website run as intended. I can even debug.

… no, not all parts, of course. There are no images. I cannot open the panel.

Perhaps I have messed up the `media` folder. Is there a simple way to re-build that from scratch, i. e. feed it with proper renewed content from the `content` folder?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [December 23, 2020, 4:28pm UTC](https://forum.getkirby.com/t/failed-to-fetch-whats-wrong/20497/4 "2020-12-23T16:28:31Z")

</div>

You can delete the media folder, it is recreated automatically.

---

<div class="post-metadata">

**Author:** ![hww](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/hww/32/9526_2.png) [@hww](https://forum.getkirby.com/u/hww)\
**Post date:** [December 23, 2020, 4:29pm UTC](https://forum.getkirby.com/t/failed-to-fetch-whats-wrong/20497/5 "2020-12-23T16:29:17Z")

</div>

Ok, the server _was_ definitively the culprit.

This morning, the server has been started afresh, so does it every day. I do not understand why, but after a server restart, the problem went away.

So I know what to try the next time before I post a request for help. Thank you for your time.

---

<div class="post-metadata">

**Author:** ![hww](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/hww/32/9526_2.png) [@hww](https://forum.getkirby.com/u/hww)\
**Post date:** [December 23, 2020, 4:29pm UTC](https://forum.getkirby.com/t/failed-to-fetch-whats-wrong/20497/6 "2020-12-23T16:29:59Z")

</div>

Thank you too for helping.
