Next.js Discord

Discord Forum

Routes with getServerSideProps is returning error 500 page

Unanswered
Catalan Sheepdog posted this in #help-forum
Open in Discord
Avatar
Catalan SheepdogOP
I have deployed my nextjs application in a shared hosting (paid) with CPanel. After that, website is wokring fine. Static pages are rendering perfectly. But routes with getServerSideProps is returning the error 500 page.

How can I fetch data in serverside in CPanel hosting.
Thanks in advance.
Image

0 Replies