# "Internal Server Error" Error 500

**URL:** <https://answers.netlify.com/t/internal-server-error-error-500/79108>\
**Category:** Support\
**Tags:** nextjs, deployment\
**Created:** [November 13, 2022, 11:06am UTC](https://answers.netlify.com/t/internal-server-error-error-500/79108 "2022-11-13T11:06:30Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Britnell](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/britnell/32/42964_2.png) [@Britnell](https://answers.netlify.com/u/Britnell)\
**Post date:** [November 13, 2022, 11:06am UTC](https://answers.netlify.com/t/internal-server-error-error-500/79108/1 "2022-11-13T11:06:30Z")

</div>

Hi,

> **[Web dev sketchbook](https://dev-sketchbook.netlify.app)**
>
> I'm a front-end web developer, and this is my sketchbook

For some reason my netlify page is throwing “Internal Server Error” since my last two commits. This is on any page, with no other information. I can’t see any more info in function logs either. There is no extra info like request id as I have seen elsewhere. any idea how I can debug this?

The project is next.js and builds and runs fine locally. New commits were just adding two new pages and  
last working commit / deploy [https://6363b8a42bd52000077d638f--dev-sketchbook.netlify.app/](https://6363b8a42bd52000077d638f--dev-sketchbook.netlify.app/)  
I’ve reverted the site back to this working commit for now.

but deploys since throw error, see

- [https://636edb4512c768000860ab83--dev-sketchbook.netlify.app/](https://636edb4512c768000860ab83--dev-sketchbook.netlify.app/)
- [https://636f95de7bce1800092b76b3--dev-sketchbook.netlify.app/](https://636f95de7bce1800092b76b3--dev-sketchbook.netlify.app/)

This is git repo & commit history, [Commits · Britnell/sketchbook · GitHub](https://github.com/Britnell/sketchbook/commits/main)  
only last two commits throw this error, 3rd Nov “hidden expand buttons example” works fine, thats what I rolled back to.

=\>UPDATE  
Ok now i actually reverted the changes in main back to the last commit that was working, but the new build of this throws the same error, (while the old deploy of the same code is still working) so that tells me its probably a netlify problem, right?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [November 13, 2022, 1:12pm UTC](https://answers.netlify.com/t/internal-server-error-error-500/79108/2 "2022-11-13T13:12:52Z")

</div>

Refer to:

> [@Getting 500 error with my Nextjs app that works perfect locally](https://answers.netlify.com/t/79026/13):
>
> Thanks for your patience, everyone. Could you please try rebuilding your sites and letting me know if the behavior changes? We have rolled back a change that we think was causing it, but it will require a rebuild to fix if our estimation is correct. Please share your results here so we can understand if we need to continue to work on this!

---

<div class="post-metadata">

**Author:** ![Britnell](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/britnell/32/42964_2.png) [@Britnell](https://answers.netlify.com/u/Britnell)\
**Post date:** [November 15, 2022, 10:48am UTC](https://answers.netlify.com/t/internal-server-error-error-500/79108/3 "2022-11-15T10:48:09Z")

</div>

Hi Hrishikeh,  
Thanks for your reply and the linked issue. Unfortunately those fixes don’t seem to have made a difference for me. I also created a new site form the same repo but this throws the same error …  
I did not get a reply on the thread, do I need to raise this somewhere else? Is there any more debug information I can get? or is this an internal netlify issue?  
Many thanks,  
T

---

<div class="post-metadata">

**Author:** ![ascorbic](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/ascorbic/32/25858_2.png) [@ascorbic](https://answers.netlify.com/u/ascorbic)\
**Post date:** [November 15, 2022, 11:57am UTC](https://answers.netlify.com/t/internal-server-error-error-500/79108/4 "2022-11-15T11:57:23Z")

</div>

Hey. Could you share a link to the logs for the new site? Also could you try a rebuild of the previous site?

Thanks

---

<div class="post-metadata">

**Author:** ![Britnell](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/britnell/32/42964_2.png) [@Britnell](https://answers.netlify.com/u/Britnell)\
**Post date:** [November 15, 2022, 12:46pm UTC](https://answers.netlify.com/t/internal-server-error-error-500/79108/5 "2022-11-15T12:46:21Z")

</div>

Hi @ascorbic ,  
I just rebuilt and it works, thank so much!  
Pushed new changes and those work too 👌

any lesson i can take away here for the future?  
or did you just fix things in the background somewhere?

---

<div class="post-metadata">

**Author:** ![Kai-Mavyn](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/kai-mavyn/32/31729_2.png) [@Kai-Mavyn](https://answers.netlify.com/u/Kai-Mavyn)\
**Post date:** [November 18, 2022, 12:52am UTC](https://answers.netlify.com/t/internal-server-error-error-500/79108/6 "2022-11-18T00:52:07Z")

</div>

Hi @Britnell - this appears to be all on our side and fixed in the background. Our apologies for the disruption!

---

<div class="post-metadata">

**Author:** ![ntehseen](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/ntehseen/32/60340_2.png) [@ntehseen](https://answers.netlify.com/u/ntehseen)\
**Post date:** [April 14, 2024, 9:41am UTC](https://answers.netlify.com/t/internal-server-error-error-500/79108/7 "2024-04-14T09:41:44Z")

</div>

Hi, I am having the same problem, all of a sudden my website is down with

500 | Internal Server Error.

I already rebuilt and redeployed my app. But still its the same. Is it something to do with netlify?

---

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [April 14, 2024, 12:00pm UTC](https://answers.netlify.com/t/internal-server-error-error-500/79108/8 "2024-04-14T12:00:04Z")

</div>

Site name to check @ntehseen?

---

<div class="post-metadata">

**Author:** ![ntehseen](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/ntehseen/32/60340_2.png) [@ntehseen](https://answers.netlify.com/u/ntehseen)\
**Post date:** [April 14, 2024, 3:31pm UTC](https://answers.netlify.com/t/internal-server-error-error-500/79108/9 "2024-04-14T15:31:49Z")

</div>

This is the site:

[https://navidtehseen.netlify.app/](https://navidtehseen.netlify.app/)

Thank you.

---

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [April 14, 2024, 5:06pm UTC](https://answers.netlify.com/t/internal-server-error-error-500/79108/10 "2024-04-14T17:06:44Z")

</div>

Are you sure your output is being saved in the `out` directory:

 ![image](https://global.discourse-cdn.com/netlify/original/3X/0/7/07bdc75f5525f9f1df2bd11faec463687bb58dfd.png)

Usually, it’s the `.next` directory. You might want to check your publish path.

---

<div class="post-metadata">

**Author:** ![ntehseen](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/ntehseen/32/60340_2.png) [@ntehseen](https://answers.netlify.com/u/ntehseen)\
**Post date:** [April 15, 2024, 4:01am UTC](https://answers.netlify.com/t/internal-server-error-error-500/79108/11 "2024-04-15T04:01:40Z")

</div>

My publish path is ‘out’ .

And the website have been working fine, even last night I checked the website was working fine, at around 3am when i tried to open the site, I started getting errors. I didn’t update or deploy anything

---

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [April 21, 2024, 11:56am UTC](https://answers.netlify.com/t/internal-server-error-error-500/79108/12 "2024-04-21T11:56:44Z")

</div>

Could you try upgrading the Next.js Runtime to v5.1.2?

---

<div class="post-metadata">

**Author:** ![doongu](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/doongu/32/80078_2.png) [@doongu](https://answers.netlify.com/u/doongu)\
**Post date:** [June 13, 2026, 7:35pm UTC](https://answers.netlify.com/t/internal-server-error-error-500/79108/13 "2026-06-13T19:35:22Z")

</div>

Hi, I am having the same problem,

Web Server Error

* * *

**Description: The host requested did not return the document correctly.**

> **[Socian CRM 테스트 보드](https://jade-gnome-ef5280.netlify.app/gate?next=%2F)**
>
> Socian CRM 요구사항 테스트 진행 보드
