Getting 500, internal server error for a page that buidls locally

Hello, I am having trouble understanding how it is possible that this page (that is generated through this code) I get error 500 (by visiting Redirect to /2022/program/)

On the other hand, I see the test page with no problems, on http://localhost:3000/program.

What can I do? Is it a Netlify bug?

Hi @tommi,

I’m seeing a NGINX 404 page on the first link. Is that the correct link?

I am terribly sorry. We removed the website from production. The URL now is

I can see an error in the function console: Netlify App

It says: