404 Error Accessing Deployed NEXT.js Platforms Starter Kit on Vercel
Unanswered
Pyramid ant posted this in #help-forum
Pyramid antOP
Hi,
I've recently deployed a project using the Platforms Starter Kit template on Vercel(https://vercel.com/templates/next.js/platforms-starter-kit). The deployment process completed successfully, and the Vercel dashboard indicates that the project is ready and deployed. However, when I attempt to access the deployed URLs, I consistently receive a 404 error.
Deployment Details:
- Template Used: Next.js Platforms Starter Kit
- Deployment Status: Successful
- Environment: Production
- Deployment Duration: 2 minutes and 21 seconds
- Deployed Domains:
- platforms-starter-kit-eta-ochre.vercel.app
- platforms-starter-kit-git-main-zodds-projects.vercel.app
- platforms-starter-e1877g9r2-zodds-projects.vercel.app
Errors/Logs:
- The deployment logs did not indicate any errors during the build or deployment process.
- The logs confirmed a successful build and optimization of static pages, with all dependencies installed correctly and no issues reported.
Issue Encountered:
Despite the successful deployment, attempting to access the project via the provided URLs results in a 404 error. This issue persists across all deployed domains.
Attempts to Resolve:
- Verified domain settings and routes in Vercel dashboard and Next.js configuration.
- Ensured that there are no path or routing misconfigurations in
- Checked for any possible issues with static generation and server-side rendering configurations that might affect the deployment.
Request for Assistance:
Could anyone provide insights or suggestions on what might be causing these 404 errors on a successfully deployed Next.js project on Vercel? Are there specific configurations or steps that I might have overlooked in setting up the Platforms Starter Kit?
Any guidance or advice would be greatly appreciated. Thank you for your time and assistance.
I've recently deployed a project using the Platforms Starter Kit template on Vercel(https://vercel.com/templates/next.js/platforms-starter-kit). The deployment process completed successfully, and the Vercel dashboard indicates that the project is ready and deployed. However, when I attempt to access the deployed URLs, I consistently receive a 404 error.
Deployment Details:
- Template Used: Next.js Platforms Starter Kit
- Deployment Status: Successful
- Environment: Production
- Deployment Duration: 2 minutes and 21 seconds
- Deployed Domains:
- platforms-starter-kit-eta-ochre.vercel.app
- platforms-starter-kit-git-main-zodds-projects.vercel.app
- platforms-starter-e1877g9r2-zodds-projects.vercel.app
Errors/Logs:
- The deployment logs did not indicate any errors during the build or deployment process.
- The logs confirmed a successful build and optimization of static pages, with all dependencies installed correctly and no issues reported.
Issue Encountered:
Despite the successful deployment, attempting to access the project via the provided URLs results in a 404 error. This issue persists across all deployed domains.
Attempts to Resolve:
- Verified domain settings and routes in Vercel dashboard and Next.js configuration.
- Ensured that there are no path or routing misconfigurations in
next.config.js and the project's directory structure.- Checked for any possible issues with static generation and server-side rendering configurations that might affect the deployment.
Request for Assistance:
Could anyone provide insights or suggestions on what might be causing these 404 errors on a successfully deployed Next.js project on Vercel? Are there specific configurations or steps that I might have overlooked in setting up the Platforms Starter Kit?
Any guidance or advice would be greatly appreciated. Thank you for your time and assistance.
2 Replies
Gouty oak gall
Hi! Have you checked the starter kit's github issues? There seem to be two threads with possible solutions to the kind of issue you're describing:
- https://github.com/vercel/platforms/issues/384
- https://github.com/vercel/platforms/issues/289
- https://github.com/vercel/platforms/issues/384
- https://github.com/vercel/platforms/issues/289
Pyramid antOP
Thanks for this @Gouty oak gall
I added an external domain and was able to deploy successful without the 404 error
I added an external domain and was able to deploy successful without the 404 error