ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersโ€ข14mo agoโ€ข
3 replies
Yash Vagal

500 Error when Deploying Website

Hi,

I am facing an issue when I am updating my github repo (which is tied up to my web deployment) I am getting a random 500 error (as shown in the first image attached).

This is happening when I deploy (push code onto my github repo) new code or when I deploy (copy the old code which was working before and pushed that back onto my github repo) previous version of the code before I made new changes (when the deployment was working fine). Only when I rollback the deployment to the old working version then my website would work and not have the 500 error. Also every push I make on cloudflare, log say its good and makes the build live without any issues.

I have tried different deployment platforms (render and vercel, as shown in the second image attached) and I am not getting the same issue (any and all new deployments work and display our website live).

Why is this happening? Would love any help or advice please!
image.png
image.png
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Deploying Node JS website
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago
500 error when I open my website, but just on the home page
Cloudflare DevelopersCDCloudflare Developers / general-help
16mo ago
Getting 500 error after deploying my NextJS app to Cloudflare Pages.
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
Website Hosting Error
Cloudflare DevelopersCDCloudflare Developers / general-help
3mo ago