15th Oct 2021

Why making api requests from getServerSideProps` internal api fails

This is because this function runs from the server. So it's as if you are making a request to yourself. Instead move the logic from serverless functions to the getServerSide props function