silverwolf-x/project / errors /ssg-fallback-true-export.mdx
silverwolf-x's picture
download
raw
722 Bytes
---
title: 'SSG `fallback: true` Export Error'
---
## Why This Error Occurred
You attempted to export a page with a `fallback: true` return value from `getStaticPaths` which is invalid. `fallback: true` is meant for building pages on-demand after a build has occurred, exporting disables this functionality
## Possible Ways to Fix It
If you would like the `fallback: true` behavior, you must remove `output: 'export'` and remove `next export` in favor of a different [deployment solution](/docs/pages/getting-started/deploying).
## Useful Links
- [Deployment documentation](/docs/pages/getting-started/deploying)
- [`fallback: true` documentation](/docs/pages/api-reference/functions/get-static-paths#fallback-true)

Xet Storage Details

Size:
722 Bytes
·
Xet hash:
0af5a52a2785199f78fe7b437bdf0d153d2218ef01150ed570978bd7160e5a75

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.