cloudflare / workers-sdk

⛅️ Home to Wrangler, the CLI for Cloudflare Workers®
https://developers.cloudflare.com/workers/
Apache License 2.0
2.41k stars 592 forks source link

🐛 BUG: Dashboard showing "This namespace no longer exists and can not be read from or written to. Please try using a different namespace." for bound Durable Objects on wrangler.toml managed Pages projects #6099

Open zwily opened 1 week ago

zwily commented 1 week ago

Which Cloudflare product(s) does this pertain to?

Pages, Wrangler core

What version(s) of the tool(s) are you using?

3.60.2 [Wrangler]

What version of Node are you using?

18.17.1

What operating system and version are you using?

Mac OS Sonoma 14.5

Describe the Bug

Observed behavior

I have a wrangler.toml managed Pages project with a bound Durable Object. In the dashboard, the binding is showing as "This namespace no longer exists and can not be read from or written to. Please try using a different namespace." The binding appears to be working fine. For my non-wrangler.toml-managed Pages projects, the bindings show up as expected.

This feels like a dashboard UI issue to me, but Walshy told me in Discord to file a wrangler bug on it since it's only happening on wrangler.toml managed Pages projects.

Expected behavior

The dashboard should show the bound Durable Object without an error.

Steps to reproduce

Create a Pages application, with a wrangler.toml Bound a Durable Object to the app Publish the app with wrangler pages deploy Go to the dashboard and see that your Durable Object is showing as "no longer exists".

Please provide a link to a minimal reproduction

No response

Please provide any relevant error logs

No response