Encounter error 503 sometimes from Netlify (NextJS)

We’re hosting a Next.js app on Netlify and, based on our logs, we occasionally encounter 503 errors from our functions.

To investigate, we’ve set up a cron job to ping a simple API every minute to replicate the issue.

The API itself is very basic — it just returns a ‘Hello World’ message. Please see the code below:

NextJS: 12.3.x

Has anyone else experienced something similar or found any improvements by trying specific solutions? Any suggestions would be much appreciated.

Please find the details for the request that failed:
Date: Fri, 11 Jul 2025 00:00:03 GMT
X-Nf-Request-Id: 01JZVCGB00KS1PX8HWSQV2H069

I’ve routed this request to our helpdesk, we’ll follow up via email.

1 Like