Any idea why I'm getting this error when trying to deploy my nextjs app to Cloudflare via GH action?

Any idea why I'm getting this error when trying to deploy my nextjs app to Cloudflare via GH action?
✨ Compiled Worker successfully
✨ Uploading Worker bundle
✨ Uploading _routes.json
✘ [ERROR] Received a malformed response from the API
  <!DOCTYPE html>
  <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
  <!--[if I... (length = 6434)
  POST /accounts/***/pages/projects/***/deployments -> 504 Gateway Time-out

Full log: https://dpaste.com/BS3C42YFX
Was this page helpful?