Ā© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•14mo ago•
1 reply
arsalan

Help with calling/declaring env variables

I've made a worker with environment variables (secret) that I have set from the web dashboard, I am using the web editor to write my code but I am not able to reference/call the env variable and constantly get the error

Cannot read properties of undefined (reading 'RATE_LIMIT')
Cannot read properties of undefined (reading 'RATE_LIMIT')


How should I go about this?
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

Bug with Workers Build env variables
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
17mo ago
Not binding env variables
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
ENV Variables not found
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Env ,Variables in Github Workflow
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago