203f43c1fe
* Add error when attempting to export GSSP page * Update errors/gssp-export.md * Update errors/gssp-export.md * Update errors/gssp-export.md Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
654 B
654 B
getServerSideProps Export Error
Why This Error Occurred
You attempted to export a page with getServerSideProps
which is not allowed. getServerSideProps
is meant for requesting up to date information on every request which means exporting it defeats the purpose of the method.
Possible Ways to Fix It
If you would like the page be static you can leverage the getStaticProps
method instead.