© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•2y ago•
7 replies
danboyle8637

New Rate Limiting Binding - Impossible To Add New ENV Variables?

I just noticed this morning that if you’ve hooked up the new unsafe binding to the rate limiting feature…

You cannot add ENV variables in the CF Dashboard.

It always errors out with:

binding USER_WORKER_RATE_LIMITER of type ratelimit must have an namespace_id specified (Code: 10021)

What is the best course of action?

Also if you create a secret via wrangler can you add that in the wrangler.toml and have the value be read corectly?

Thanks for any help!
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Not binding env variables
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
Impossible to add a new ENV Variable if using unstable.bindings.RATE_LIMITER
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
New Rate Limiting Feature Broken?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
14mo ago
Rate Limiting
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago