cloudflare / cloudflare/workers-sdk
🐛 BUG: Wrangler randomly throws "Received a malformed response from the API" when publishing pages
Open
api
package:wrangler
product:pages
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.5k
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 187
Description
### Which Cloudflare product(s) does this pertain to?
Wrangler
### What version of `Wrangler` are you using?
2.1.13
### What operating system are you using?
Linux
### Describe the Bug
I often come across this error when running wrangler. Maybe some problem with the API I guess, but there is so consistency that I can find. When I run the same command once again, it executes smoothly without any issues.
Command:
`CLOUDFLARE_ACCOUNT_ID=XXXX CLOUDFLARE_API_TOKEN=XXXX wrangler pages publish public --commit-dirty=true --project-name=XXXX --branch main `
Error:
```
✘ [ERROR] Received a malformed response from the API
Contributor guide
Assessment
This issue has not been assessed yet.