Receive error inside deploy for netlify, build local OK
Uploading blobs to deploy store
────────────────────────────────────────────────────────────────
⠙ Uploading blobs to deploy store…
Error uploading blobs to deploy store: Netlify Blobs has generated an internal error (403 status code)
Internal error during “Uploading blobs”
────────────────────────────────────────────────────────────────
Error message
Error: Failed while uploading blobs to deploy store
Internal error during “Uploading blobs”
────────────────────────────────────────────────────────────────
Error message
Error: Failed while uploading blobs to deploy store
Error location
During Uploading blobs
at coreStep (file:///usr/local/lib/node_modules/netlify-cli/node_modules/@netlify/build/lib/plugins_core/blobs_upload/index.js:56:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async fireCoreStep (file:///usr/local/lib/node_modules/netlify-cli/node_modules/@netlify/build/lib/steps/core_step.js:11:98)
at async tFireStep (file:///usr/local/lib/node_modules/netlify-cli/node_modules/@netlify/build/lib/time/main.js:18:63)
at async file:///usr/local/lib/node_modules/netlify-cli/node_modules/@netlify/build/lib/steps/run_step.js:69:283
at async pReduce.index (file:///usr/local/lib/node_modules/netlify-cli/node_modules/@netlify/build/lib/steps/run_steps.js:12:349)
at async runSteps (file:///usr/local/lib/node_modules/netlify-cli/node_modules/@netlify/build/lib/steps/run_steps.js:11:205)
at async runBuildStep (file:///usr/local/lib/node_modules/netlify-cli/node_modules/@netlify/build/lib/steps/run_core_steps.js:111:64)
at async executeBuildStep (file:///usr/local/lib/node_modules/netlify-cli/node_modules/@netlify/build/lib/steps/run_core_steps.js:72:68)
at async runCoreSteps (file:///usr/local/lib/node_modules/netlify-cli/node_modules/@netlify/build/lib/steps/run_core_steps.js:19:68)
every single page in the website, as generated by Next.js, is 17MB!!! That’s because Nextjs prerenders all pages and loads them all in every single page. every single page in the website, as generated by Next.js, is 17MB!!! That’s because Nextjs prerenders all pages and loads them all in every single page.
It was an issue in the logic from my application. Uploading the blobs then kept crashing, it just couldn’t handle it. But once I fixed my app, it’s working ok again.
I have a documentation section on my site, with a navigation linking to all docs. For that, I fetched all docs, and passed them as props to some component. For some reason, Nextjs was then printing the whole data for all those docs into the HTML, to keep hydration for React. As a solution, instead of passing the whole document as props, I only pass the title and url, then it went from 17 MB to less than 500 kb
@mandinho There’s no guaranteed response times with Netlify, (unless you have an appropriate ‘Enterprise plan’), all their other plans are considered ‘self service’. So you do have to wait between each response from Netlify’s staff.
If you believe what you’re encountering is a Netlify issue, not your own code, the fastest way to get attention would be to ‘prove it’.
Make a minimum reproduction that you can demonstrate works on Vercel, but does not work on Netlify.