Hey there, @ismailaamir
We took a look at your deploy logs, and it looks like starting at line 463 gives us a clue:
6:16:14 AM: You have the following Netlify rewrite that might cause conflicts with the Next.js plugin:
6:16:14 AM:
6:16:14 AM: - /* /404 404
For more information, see https://ntl.fyi/next-rewrites
I would recommend following that link that is in your deploy log, as well as taking a look at some of our redirects and rewrites material to debug this: [Support Guide] Making redirects work for you - troubleshooting and debugging