Deploy did not succeed with HTTP Error 500

Getting “Deploy did not succeed with HTTP Error 500” for the follow websites

Please note that we have tried removing the cache but didn’t help.

Netlify logs: (IST zone)

9:20:36 PM: Starting to deploy site from ‘web/uk/law/.next’
9:20:36 PM: Calculating files to upload
9:20:37 PM: 1 new file(s) to upload
9:20:37 PM: 1 new function(s) to upload
9:22:40 PM: Failed to upload function to S3
9:22:40 PM: Failed to upload file: ___netlify-server-handler
9:22:40 PM: Section completed: deploying
9:22:40 PM: ​
9:22:40 PM: Internal error deploying
9:22:40 PM: ────────────────────────────────────────────────────────────────
9:22:40 PM: ​
9:22:40 PM: Error message
9:22:40 PM: Deploy did not succeed with HTTP Error 500: Failed to execute deploy: [PUT /deploys/{deploy_id}/functions/{name}][500] uploadDeployFunction default &{Code:500 Message:Failed to upload function to S3}
9:22:40 PM: ​
9:22:40 PM: Error location
9:22:40 PM: At deploy the stage with HTTP status code ‘500’
9:22:40 PM: ​

Sorry, Issue got fixed when we tried to rebuild through Contentful web hooks. Bit weird but solved our issue. thanks

This is being addressed here: Netlify Status - Failure to deploy sites due to function upload failure

Glad to hear you are unblocked in the meantime!