Subject: 404 NOT FOUND Error on Deployment

I took help from youtube , chatgpt but none helped you . You are my only option left , please login into my accountt and depoy my e-commerce site.

My code before = “GitHub - MTCODERS000/Meet-Buyss

after I knew how to depoy in vercel = “GitHub - MTCODERS000/meet-buys-vercel

Here’s a problem report template that you can send to Vercel support regarding the 404 NOT FOUND issue:


Subject: 404 NOT FOUND Error on Deployment

Hello Vercel Support Team,

I hope this message finds you well. I am experiencing a 404 NOT FOUND error with my deployed project on Vercel. Below are the details of the issue I am facing:

Project Information

Issue Description

When I attempt to access my deployed application, I encounter a 404 error with the following details:

  • Error Message: 404: NOT_FOUND
  • Error Code: NOT_FOUND
  • Error ID: bom1::zfwtq-1727589674478-6d49c020d89f

Steps Taken

  1. Route Configuration: I have set up my Express app with the following routes:

    • GET / for the home page
    • GET /upload for the upload page
    • GET /uploadForm for the upload form after password verification
  2. Vercel Configuration: My vercel.json file is configured to route all incoming requests to functions/api.js as follows:

    {
      "version": 2,
      "builds": [
        {
          "src": "functions/api.js",
          "use": "@vercel/node"
        }
      ],
      "routes": [
        {
          "src": "/(.*)",
          "dest": "/api.js"
        }
      ]
    }
    
  3. Local Testing: I have tested the application locally, and it works without issues when run with node app.js. I have also used vercel dev to replicate the Vercel environment locally.

  4. Logs: I checked the logs in the Vercel dashboard but did not find any specific error messages that would indicate what might be wrong.

Request for Assistance

I would appreciate your help in diagnosing the issue causing the 404 error. If there are any specific logs or additional information you need from my end, please let me know.

Thank you for your attention to this matter. I look forward to your assistance in resolving this issue.

Best regards,

[Meet]
[pritibenzalavadiya@gmail.com]
[my Vercel Account Email = pritibenzalavadiya@gmail.com]

Hi, @mtcoders000! Welcome to the Vercel Community. :smile:

Could you try reviewing our debugging 404 errors community post? Might help you debug!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.