Getting a 500 internal server error

Today, we deployed new code and encountered a 500 error upon viewing the site. Even after reverting the commits, the error persisted following deployment. Ultimately, manually rolling back the deployment to an older commit from the pages dashboard brought the site back up, but as of now we are not able to push new code out.
5 Replies
Walshy
Walshy3mo ago
I'd recommend debugging the bad builds and figuring out what went wrong I'd start with tailing and see what the logs say
bateswebtech
bateswebtechOP3mo ago
@Walshy | Deploying Just checked the log and getting "logs": [ { "message": [ "Error: Publishable key not valid." ], "level": "error", "timestamp": 1728300534025 } ], This is from a github linked deployment
Walshy
Walshy3mo ago
So seems you need to update some key?
bateswebtech
bateswebtechOP3mo ago
We don't have anything installed, it's a static site with sveltekit. Reverting to a previous successfull deployment from the 4th from the dashboard site works fine so nothing has changed there. Wasn't sure if this is a CF error.
Walshy
Walshy3mo ago
definitely not a cf error the fact it's showing in tail means that there is a Function and it's user code failing
Want results from more Discord servers?
Add your server