Wrangler always outputs "Error: Server returned error response"

Hey,

wrangler suddenly returns
Error: Server returned error response
for every command I type in. E.g. wrangler publish and also for wrangler whoami.

Do you know how I can debug this issue? Or is there an issue on the Cloudflare side?

Thanks, Giorgio

So far there is no incident detected on Cloudflare. Do you have the latest version of Wrangler v1?
Updates:

  • Tested the API endpoints and they are working properly;
2 Likes

Yep, v 1.19.7. OK I’ll investigate further. It’s weird because it was working until this morning - maybe I also made a mistake but I actually didn’t change anything on the config side…

I forced a deployment in my CI/CD and the result was:
✨ Successfully published your script to

Hey,

This is usually caused by a session expiration. Could you please run wrangler logout and wrangler login then try again.

If the issue persists, please join the Discord so we can get it looked into further. The invite is https://workers.community

Thanks

4 Likes

Oh thanks, that worked! :slight_smile:

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.