rsnext/errors/gsp-redirect-during-prerender.md
Maedah Batool 60488e68e3
Fix broken data fetching links in docs (#33766)
* Fix broken links for Data Fetching

* Fix link data fetching doc

* Improve link file paths

* Update errors/large-page-data.md

Co-authored-by: Steven <steven@ceriously.com>

* Update links

* Fix linting

* Lint tests

* Lint tests

Co-authored-by: Steven <steven@ceriously.com>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2022-04-22 14:03:07 +02:00

477 B

Redirect During getStaticProps Prerendering

Why This Error Occurred

The redirect value was returned from getStaticProps during prerendering which is invalid.

Possible Ways to Fix It

Remove any paths that result in a redirect from being prerendered in getStaticPaths and enable fallback: true to handle redirecting for these pages.