500 Internal error when deploying api using functions

Don’t create a new thread as you have here Fallback page works locally but not on Netlify and then post on another thread about the same issue @Sameedahmad