Failure in deploying ratelimit - must have `namespace_id` even though it is defined in wrangler.toml

Here is my wrangler.toml
[[unsafe.bindings]]
name = "RATE_LIMITER"
type = "ratelimit"
namespace_id = "1001"
simple = { limit = 10, period = 10 }
[[unsafe.bindings]]
name = "RATE_LIMITER"
type = "ratelimit"
namespace_id = "1001"
simple = { limit = 10, period = 10 }
I get the error even though I have defined namespace_id. I get this error when I try updating the environment variables. Note: I deployed using wrangler deploy --minify src/index.ts and I'm using hono.dev
binding RATE_LIMITER of type ratelimit must have an namespace_id specified (Code: 10021)
Am I seeing an error because I already used the namespace_id previously? I assumed this and deleted my old worker project. But I still get this error.
1 Reply
Alec | Kriebel LLC.
I see this error when trying to update workers via the dashboard too. I was able to get around this by using wrangler secrets put command locally. I'd guess this a bug with their dashboard
Want results from more Discord servers?
Add your server