Service bindings works only with status == 200?

I’ve been testing service bindings lately, and spent a lot of time troubleshooting 1101 errors etc.

After trying a lot of different things, it seems to me that responding with anything beside status == 200 (20x?) in an inter service call using service bindings creates an internal 500 error?

Is this just me, a bug or is it some sort of constraint that is not properly documented?

This definitely sounds like a bug. I would recommend filing an issue at GitHub - cloudflare/wrangler2: ⛅️ The CLI for Cloudflare Workers® with a minimal reproduction.

I will, thanks!