← All errors · Vercel
404: NOT_FOUND on Vercel
Exact error
404: NOT_FOUND. Code: NOT_FOUND
What it means
Vercel has no file or route for the requested path.
Likely causes
- Wrong Output Directory or Framework Preset in project settings.
- Single-page app (Vite/React Router) without a rewrite, so refreshing a deep link 404s.
- Deployment URL pointing to a deleted deployment.
How to fix it
Check Project → Settings → Build & Development: framework preset and output directory (Vite uses dist).
For SPAs with client-side routing, add a rewrite:
// vercel.json { "rewrites": [{ "source": "/(.*)", "destination": "/index.html" }] }
Related errors
Get new fixes weekly
No spam. Unsubscribe anytime. Privacy