Closed iyansr closed 4 years ago
@iyansr please, how did you solve this issue? I'm having a similar problem. I have getServerSideProps
on my pages, I need the data before I render the page. I have a Strapi API, all works good on localhost, but when I deploy I get 500 Internal server error. I can't figure out what to do.
Any help would be appreciated! 🙏
Thanks!
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Bug report
Describe the bug
My Website get throw 500 error when visiting the page that contain API calls from Strapi API, API call come from
getServerSideProps
I tried running production on local with Production Strapi API that hosted on Heroku, and i works as expected. But when deployed to Vercel, and visit the page that contain API calls from Strapi API, it will throw 500 error.
To Reproduce
Expected behavior
Not Throwing 500 error
Screenshots
Deployed version :
Running Production On Local :
System information
Additional context
vercel.json
Vercel Logs