# Getting 400 error

**URL:** <https://forum.ghost.org/t/getting-400-error/59159>\
**Category:** Routing\
**Created:** [August 1, 2025, 1:34am UTC](https://forum.ghost.org/t/getting-400-error/59159 "2025-08-01T01:34:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![blissflip](https://avatars.discourse-cdn.com/v4/letter/b/b77776/32.png) [@blissflip](https://forum.ghost.org/u/blissflip)\
**Post date:** [August 1, 2025, 1:34am UTC](https://forum.ghost.org/t/getting-400-error/59159/1 "2025-08-01T01:34:21Z")

</div>

Using edition, created a new home page that worked, but needed to change it for another reason– then all sorts of routing issues, and after many, many hours, the current situation is: **400**

## Missing template home.hbs for route “/”

So much appreciate the help getting my site back up.

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [August 1, 2025, 2:07am UTC](https://forum.ghost.org/t/getting-400-error/59159/2 "2025-08-01T02:07:34Z")

</div>

Sounds like you’ve got a routes file that specifies a home template, and the theme you have installed now doesn’t have one. You can grab the default configuration from here: [Ghost Themes - Dynamic URLs & Routing](https://ghost.org/docs/themes/routing/) (use the base configuration), save as routes.yaml, and then upload it from /ghost \> settings (gear icon) \> labs \> upload routes. You may want to download the existing routes file before you upload, if there’s customizations that you might want to keep, as there’s no way to get an older copy back otherwise.

---

<div class="post-metadata">

**Author:** ![blissflip](https://avatars.discourse-cdn.com/v4/letter/b/b77776/32.png) [@blissflip](https://forum.ghost.org/u/blissflip)\
**Post date:** [August 1, 2025, 10:07am UTC](https://forum.ghost.org/t/getting-400-error/59159/3 "2025-08-01T10:07:33Z")

</div>

Thank you Cathy, I was able to fix that problem. Now trying to get a custom home page, and not mess up the site as that what was triggered the 400 error.

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [August 1, 2025, 12:49pm UTC](https://forum.ghost.org/t/getting-400-error/59159/4 "2025-08-01T12:49:02Z")

</div>

Feel free to post what you’re working on if you get stuck.

I’ve got several working examples here, also: [Starting Ghost: Custom homepage](https://www.spectralwebservices.com/blog/getting-started-custom-homepage/)
