Failed: an internal error occurred. If this continues, contact support

Hello! I'm trying to deploy a next-on-pages app, but am getting this error: * Pages URL: https://highsocietydispo.pages.dev/ * Deployment ID: 4b73ae3b-3570-4b68-8378-1da4c19d54ff * Account ID: 107a3aac2bff45c39e4a11e75d53082f8 * Errors:
[...]
19:25:05.777 ✨ Compiled Worker successfully
19:25:06.825 Found _routes.json in output directory. Uploading.
19:25:07.241 Validating asset output directory
19:25:08.410 Deploying your site to Cloudflare's global network...
19:25:15.912 Failed: an internal error occurred. If this continues, contact support: https://cfl.re/3WgEyrH
19:25:15.912 Error: Failed to publish assets. For support, join our Discord (https://discord.gg/cloudflaredev) or create a ticket and reference the deployment ID: e4d63212-6d70-4030-8430-3714cb79e683
[...]
19:25:05.777 ✨ Compiled Worker successfully
19:25:06.825 Found _routes.json in output directory. Uploading.
19:25:07.241 Validating asset output directory
19:25:08.410 Deploying your site to Cloudflare's global network...
19:25:15.912 Failed: an internal error occurred. If this continues, contact support: https://cfl.re/3WgEyrH
19:25:15.912 Error: Failed to publish assets. For support, join our Discord (https://discord.gg/cloudflaredev) or create a ticket and reference the deployment ID: e4d63212-6d70-4030-8430-3714cb79e683
Here are the version of each package:
"@cloudflare/next-on-pages": "1.10.0"
"next": "14.1.1"
"@cloudflare/next-on-pages": "1.10.0"
"next": "14.1.1"
1 Reply
PlaidShaman
PlaidShaman6mo ago
when attempting to run wrangler pages deploy .vercel/output/static from my local dev env, a little more information emerges:
✨ Compiled Worker successfully
✨ Uploading Worker bundle
✨ Uploading _routes.json

✘ [ERROR] A request to the Cloudflare API (/accounts/07a3aac2bff45c39e4a11e75d53082f8/pages/projects/highsocietydispo/deployments) failed.

Request entity is too large [code: 7011]

If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose
✨ Compiled Worker successfully
✨ Uploading Worker bundle
✨ Uploading _routes.json

✘ [ERROR] A request to the Cloudflare API (/accounts/07a3aac2bff45c39e4a11e75d53082f8/pages/projects/highsocietydispo/deployments) failed.

Request entity is too large [code: 7011]

If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose
i finally got the error resolved. i changed versions to:
"@cloudflare/next-on-pages": "1.10.0",
"next": "14.1.3",
"@cloudflare/next-on-pages": "1.10.0",
"next": "14.1.3",
what was happening was that some of the workers/routers weren't being minified. it was pretty wild to open up a file to see it had 300k+ LOC.
Want results from more Discord servers?
Add your server