An unknown error occured. Contact your account team or Cloudflare support: https://cfl.re/3WgEyrH.
Background
I made changes to my Next.js project. I found out which lines cause the script to throw an error, but I don't understand why. So, I am blind trying to navigate on an unknown path.
My deployment command is:
pnpm next-on-pages && pnpm wrangler pages deploy
pnpm next-on-pages && pnpm wrangler pages deploy
Problem
The error I receive after trying running the deployment command:
✨ Compiled Worker successfully✨ Uploading Worker bundle✨ Uploading _routes.json80✘ [ERROR] A request to the Cloudflare API (/accounts/10588302399247a4add0cce49f3d28ee/pages/projects/e303-dk/deployments) failed. An unknown error occured. Contact your account team or Cloudflare support: https://cfl.re/3WgEyrH. [code: 8000000]
✨ Compiled Worker successfully✨ Uploading Worker bundle✨ Uploading _routes.json80✘ [ERROR] A request to the Cloudflare API (/accounts/10588302399247a4add0cce49f3d28ee/pages/projects/e303-dk/deployments) failed. An unknown error occured. Contact your account team or Cloudflare support: https://cfl.re/3WgEyrH. [code: 8000000]
1. How can I see the error in detail? Because this generic error 2. Could someone please help me in general related to this error, because I am extremely confused and frustrated. I received this error maybe 20 times today. At this point, I have to commit 1 function and re-run the deployment to see if it will throw an error. It takes ages to make any progress.