As 404 page can’t use getInitialProps nor getServerSidrProps, I think relay-nextjs can wrap a function to build the props inside getStaticProps Otherwise seems we are not able to use relay-nextjs in error pages