All deployments failing

Hey!

All my deployments are currently failing with the following logs:
10:22:59 AM: Failed during stage ‘building site’: Build script returned non-zero exit code: 4 (Search results for '"non-zero exit code: 4"' - Netlify Support Forums)

10:22:59 AM: Build failed due to an internal system error: Build script returned non-zero exit code: 4

This happens even to old deployments that went through without issues. I’m almost 100% sure it has nothing to do with my code, but there’s some issues on Netlify’s end - or this could be related to recent issues with AWS Lamdba


Not related to the usual build phase, as shown in these two log lines:

10:22:12 AM: (build.command completed in 12.6s)
10:22:45 AM: (Functions bundling completed in 32.8s)

3 Likes

We’re seeing the same error message, functions builds failing with error code 4

Same!
Builds suddenly started to fail.

I managed to capture an error that disappears before exit code 4 appears.

We’re also seeing this on multiple sites.


Deploying with cli gives this.

1 Like

Just tried this and same here.

Seeing same message as well,

“Build failed due to an internal system error: Build script returned non-zero exit code: 4”

My build just successfully pushed, retry your deploys everyone

Hi there,

Very sorry for the trouble!

We’ve updated our status page to show that we were experiencing an incident: Netlify Status - Increased Build Failures

The incident has been resolved.

3 Likes

I’m having the same issue

Hi, this incident has been resolved. did you redeploy your site? If not please do so.

Redeployed it and it works