Cloudflare Pages failed to upload files - "kind":"error","name":"APIError"

The issue still persists.

15:37:22.747 /opt/pages/build_tool/js/node_modules/wrangler/wrangler-dist/cli.js:29573
15:37:22.747 throw a;
15:37:22.748 ^
15:37:22.748
15:37:22.748 FatalError: Failed to upload files. Please try again. Error: {text:Received a malformed response from the API,notes:[{text:\n\n<!–[if I… (length = 7176)},{text:POST /pages/assets/upload → 524 }],kind:error,name:APIError})
15:37:22.748 at /opt/pages/build_tool/js/node_modules/wrangler/wrangler-dist/cli.js:149152:13
15:37:22.748 at processTicksAndRejections (node:internal/process/task_queues:96:5)
15:37:22.748 at async run (/opt/pages/build_tool/js/node_modules/wrangler/wrangler-dist/cli.js:148676:26) {
15:37:22.748 code: 1
15:37:22.748 }
15:37:22.788 Failed: upload process exited with code: 7
15:37:24.023 Failed: error uploading static assets. Check the logs above for more information. If this continues for an unknown reason, contact support: https://cfl.re/3WgEyrH
15:37:24.023 Error: Failed to publish assets. For support, join our Discord (Cloudflare Developers) or create a ticket and reference the deployment ID: 570a346e-b0bf-43af-8fc9-3eafc3351a56
2 Likes