I have gotten this error
“Error: Error serializing .netflixOriginals returned from getServerSideProps in “/”.
Reason: undefined cannot be serialized as JSON. Please use null or omit this value.”
after uploading my website to github and putting it in vercel. Im not sure what changed cos everything was working perfectly fine but here is my github repo: https://github.com/RyamaCoding/Netflix-Clone-2024.
the api fetching is all in the index.tsx
I’ve tried resetting the local host but I don’t know what ive changed to have messed this up. I was following this video https://www.youtube.com/watch?v=cwqNAkwhKqw
RyamaCoding is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.