In my next 12.3.1, I am using getServerSideProps() to get the data from strapi backend. On local machine all data are comming and I am able to see the page as well. But after deploying in vercel and setting up the environment I am not seeing any pages. All page routes returns code: 500 error. Before using server side props I was using getInitialProps() but here when I set the revalidation to be 5 and after updating the content from CMS same old data was being rendred even after days.
#Page is not being rendered when using getServerSideProps().
2 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize
✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)