# The site suddenly returns Internal Server Error

**URL:** <https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500>\
**Category:** Support\
**Tags:** deployment\
**Created:** [August 11, 2025, 5:13pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500 "2025-08-11T17:13:33Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![afkatja](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/afkatja/32/72460_2.png) [@afkatja](https://answers.netlify.com/u/afkatja)\
**Post date:** [August 11, 2025, 5:13pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/1 "2025-08-11T17:13:33Z")

</div>

My site [https://fincaguarumo.com](https://fincaguarumo.com) (hosted by Netlify via fincaguarumo.netlify.app, a next.js app) suddenly returns a 500 error.

In the logs, I can see only this:

`Error handling request: TypeError: functions is not a function`  
`at file:///root/src/bootstrap/server.ts:53:45`  
`at mapped (ext:deno_http/00_serve.ts:407:24)`  
`at mapped (ext:deno_http/00_serve.ts:513:16)`  
`at ext:deno_http/00_serve.ts:729:29`  
`at eventLoopTick (ext:core/01_core.js:178:7)`  
`at async netlify:bootstrap-stage1:4:1`

I have not changed anything recently, I do not have any custom functions. I have no idea how to debug this error as it seems to stem from Netlify itself and not something on my end.

Just to be sure, I triggered a manual deploy without cache, updated the @netlify/plugin-nextjs to 5.12.0, but to no avail.

The app uses next.js 15.

Is there anything else that can be done on my end?

---

<div class="post-metadata">

**Author:** ![bbatata686](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/bbatata686/32/72462_2.png) [@bbatata686](https://answers.netlify.com/u/bbatata686)\
**Post date:** [August 11, 2025, 5:16pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/2 "2025-08-11T17:16:24Z")

</div>

I am getting the same error!

---

<div class="post-metadata">

**Author:** ![jony777](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jony777/32/72465_2.png) [@jony777](https://answers.netlify.com/u/jony777)\
**Post date:** [August 11, 2025, 5:17pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/3 "2025-08-11T17:17:06Z")

</div>

same here, i guess its not a problem on our end

---

<div class="post-metadata">

**Author:** ![grafiniti-eric](https://avatars.discourse-cdn.com/v4/letter/g/7feea3/32.png) [@grafiniti-eric](https://answers.netlify.com/u/grafiniti-eric)\
**Post date:** [August 11, 2025, 5:18pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/4 "2025-08-11T17:18:47Z")

</div>

Same thing here, no idea whats going on!

**`Aug 11, 02:15:14 PM:`** ` error Error handling request: TypeError: functions is not a function`  
` at file:///root/src/bootstrap/server.ts:53:45`  
` at mapped (ext:deno_http/00_serve.ts:407:24)`  
` at mapped (ext:deno_http/00_serve.ts:513:16)`  
` at ext:deno_http/00_serve.ts:729:29`  
` at eventLoopTick (ext:core/01_core.js:178:7)`  
` at async netlify:bootstrap-stage1:4:1`

---

<div class="post-metadata">

**Author:** ![grafiniti-eric](https://avatars.discourse-cdn.com/v4/letter/g/7feea3/32.png) [@grafiniti-eric](https://answers.netlify.com/u/grafiniti-eric)\
**Post date:** [August 11, 2025, 5:25pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/5 "2025-08-11T17:25:45Z")

</div>

Would this appear here as an operational issue? [https://www.netlifystatus.com/](https://www.netlifystatus.com/)

---

<div class="post-metadata">

**Author:** ![rgwu](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/rgwu/32/72468_2.png) [@rgwu](https://answers.netlify.com/u/rgwu)\
**Post date:** [August 11, 2025, 5:33pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/6 "2025-08-11T17:33:41Z")

</div>

same here,i doing noting

Aug 12, 01:26:13 AM: error Error handling request: TypeError: functions is not a function at file:///root/src/bootstrap/server.ts:53:45 at mapped (ext:deno\_http/00\_serve.ts:407:24) at mapped (ext:deno\_http/00\_serve.ts:513:16) at ext:deno\_http/00\_serve.ts:729:29 at eventLoopTick (ext:core/01\_core.js:178:7) at async netlify:bootstrap-stage1:4:1 Aug 12, 01:28:56 AM: error Error handling request: TypeError: functions is not a function at file:///root/src/bootstrap/server.ts:53:45 at mapped (ext:deno\_http/00\_serve.ts:407:24) at mapped (ext:deno\_http/00\_serve.ts:513:16) at ext:deno\_http/00\_serve.ts:729:29 at eventLoopTick (ext:core/01\_core.js:178:7) at async netlify:bootstrap-stage1:4:1

---

<div class="post-metadata">

**Author:** ![reaganmac](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/reaganmac/32/39859_2.png) [@reaganmac](https://answers.netlify.com/u/reaganmac)\
**Post date:** [August 11, 2025, 5:34pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/7 "2025-08-11T17:34:44Z")

</div>

Same here! There are no error logs in my function handler either; logs just stop at around 11:07 AM US Central time.

Site: [https://heroscapehelper.com](https://heroscapehelper.com)

---

<div class="post-metadata">

**Author:** ![karlhorky](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/karlhorky/32/32154_2.png) [@karlhorky](https://answers.netlify.com/u/karlhorky)\
**Post date:** [August 11, 2025, 5:45pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/8 "2025-08-11T17:45:24Z")

</div>

Yes, also experiencing this - seems like starting at around 18:08 CEST (UTC+2), our Next.js site [https://upleveled.io](https://upleveled.io) went down (also, currently down):

 ![Screenshot 2025-08-11 at 19.09.40](https://global.discourse-cdn.com/netlify/original/3X/6/f/6f6779c2541f5cc21abf023f649e7aa6bf69540d.png)

In the Edge Functions logs, I have this:

```auto
Aug 11, 07:40:22 PM: error Error handling request: TypeError: functions is not a function
    at file:///root/src/bootstrap/server.ts:53:45
    at mapped (ext:deno_http/00_serve.ts:407:24)
    at mapped (ext:deno_http/00_serve.ts:513:16)
    at ext:deno_http/00_serve.ts:729:29
    at eventLoopTick (ext:core/01_core.js:178:7)
    at async netlify:bootstrap-stage1:4:1

```

We don’t use Deno, so it looks like a problem on the Netlify side.

Any Netlify support people around? Could you update the Netlify Status page with the outage? [https://www.netlifystatus.com/](https://www.netlifystatus.com/)

---

<div class="post-metadata">

**Author:** ![karlhorky](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/karlhorky/32/32154_2.png) [@karlhorky](https://answers.netlify.com/u/karlhorky)\
**Post date:** [August 11, 2025, 5:48pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/9 "2025-08-11T17:48:54Z")

</div>

cc @hrishikesh @Andrew.H@luke @sid.m @serhalp looks like a Netlify outage, maybe you can update the status page at [https://www.netlifystatus.com/](https://www.netlifystatus.com/) ? And let the engineers know if they’re not already aware…

---

<div class="post-metadata">

**Author:** ![paulrudy](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/paulrudy/32/41292_2.png) [@paulrudy](https://answers.netlify.com/u/paulrudy)\
**Post date:** [August 11, 2025, 5:59pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/10 "2025-08-11T17:59:16Z")

</div>

I’m in the same situation. Disappointed that Netlify Status is showing nothing useful.

---

<div class="post-metadata">

**Author:** ![karlhorky](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/karlhorky/32/32154_2.png) [@karlhorky](https://answers.netlify.com/u/karlhorky)\
**Post date:** [August 11, 2025, 6:08pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/11 "2025-08-11T18:08:03Z")

</div>

Posted on Twitter and Bluesky in case that will help anyone at Netlify notice faster:

- [https://x.com/karlhorky/status/1954965320596148464](https://x.com/karlhorky/status/1954965320596148464)
- [@karlhorky.com on Bluesky](https://bsky.app/profile/karlhorky.com/post/3lw5ese4gak2o)

---

<div class="post-metadata">

**Author:** ![simonfuturewonder](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/simonfuturewonder/32/67688_2.png) [@simonfuturewonder](https://answers.netlify.com/u/simonfuturewonder)\
**Post date:** [August 11, 2025, 6:12pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/12 "2025-08-11T18:12:42Z")

</div>

Similar errors, our production site is totally down.

Aug 11, 01:43:43 PM: error Error handling request: TypeError: functions is not a function at file:///root/src/bootstrap/server.ts:53:45 at mapped (ext:deno\_http/00\_serve.ts:407:24) at mapped (ext:deno\_http/00\_serve.ts:513:16) at ext:deno\_http/00\_serve.ts:729:29 at eventLoopTick (ext:core/01\_core.js:178:7) at async netlify:bootstrap-stage1:4:1

---

<div class="post-metadata">

**Author:** ![AaronNewcomer](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/aaronnewcomer/32/72477_2.png) [@AaronNewcomer](https://answers.netlify.com/u/AaronNewcomer)\
**Post date:** [August 11, 2025, 6:14pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/13 "2025-08-11T18:14:38Z")

</div>

Same. If you can disable/comment out any `[[edge_functions]]` in your netlify.toml that will temporarily fix it until they fix stuff on their side.

---

<div class="post-metadata">

**Author:** ![Governor](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/governor/32/72470_2.png) [@Governor](https://answers.netlify.com/u/Governor)\
**Post date:** [August 11, 2025, 6:14pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/14 "2025-08-11T18:14:44Z")

</div>

Also happening to me, thought this was an error in my code, lol. We don’t use deno either. [https://bloxora.com](https://bloxora.com) went down about 1-3 hours ago.

---

<div class="post-metadata">

**Author:** ![karlhorky](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/karlhorky/32/32154_2.png) [@karlhorky](https://answers.netlify.com/u/karlhorky)\
**Post date:** [August 11, 2025, 6:27pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/15 "2025-08-11T18:27:53Z")

</div>

## Workaround

For us, our edge handler was related to our Middleware. The Netlify Next.js adapter runs Middleware on edge functions.

Because [Next.js now has Node.js Middleware support](https://nextjs.org/docs/app/api-reference/file-conventions/middleware#runtime), I tried upgrading to [Next.js canary version v15.4.2-canary.35](https://github.com/vercel/next.js/releases/tag/v15.4.2-canary.35) and then added the `runtime: ‘nodejs’` like below to my configuration in `middleware.ts`:

```auto
export const config = {
  runtime: 'nodejs',

```

After this change, we’re back up: [https://upleveled.io/](https://upleveled.io/)

However, Node.js Middleware is marked as “not supported yet” in the Netlify docs: [Next.js on Netlify | Netlify Docs](https://docs.netlify.com/build/frameworks/framework-setup-guides/nextjs/overview/#:~:text=Node.js%20in%20Middleware%3A%20not%20supported%20yet).

---

<div class="post-metadata">

**Author:** ![sid.m](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/sid.m/32/50638_2.png) [@sid.m](https://answers.netlify.com/u/sid.m)\
**Post date:** [August 11, 2025, 6:48pm UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/16 "2025-08-11T18:48:39Z")

</div>

Hi all, thanks so much for your patience here. This issue has now been resolved. You can view the retroactive statuspage here: [Netlify Status - Increase in Edge Function errors](https://www.netlifystatus.com/incidents/b11yy3qmb0md)

---

<div class="post-metadata">

**Author:** ![eduardoboucas](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/eduardoboucas/32/20463_2.png) [@eduardoboucas](https://answers.netlify.com/u/eduardoboucas)\
**Post date:** [August 12, 2025, 8:22am UTC](https://answers.netlify.com/t/the-site-suddenly-returns-internal-server-error/155500/17 "2025-08-12T08:22:39Z")

</div>

Hi all, Netlify engineer here.

I just wanted to apologise for the inconvenience this may have caused you. The issue was caused by a change to our system that we started rolling out to a subset of our customers, and our automated monitoring failed to catch a problem in that code.

We’re putting measures in place to make sure we can respond much quicker should an incident like this ever occur again.

I’m sorry again for the stress and confusion and thanks for your patience.
