rsnext/errors/gssp-mixed-not-found-redirect.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

679 B

Mixed notFound and redirect

Why This Error Occurred

In one of your page's getStaticProps or getServerSideProps notFound and redirect values were both returned.

These values can not both be returned at the same time and one or the other needs to be returned at a time.

Possible Ways to Fix It

Make sure only notFound or redirect is being returned on your page's getStaticProps or getServerSideProps