Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Preview environment unable to connect to service binding? - Cloudflare Developers
CD
Cloudflare Developers
•
14mo ago
•
1 reply
xeon06
Preview environment unable to connect to service binding?
I have a pages project with a service binding to a different worker
. That binding works for the production environment of my pages project
, but I get
ctx.runtime.env.MY_BINDING.myRpc is not a function
ctx.runtime.env.MY_BINDING.myRpc is not a function
in the preview env
, even though both are bound in the dashboard
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Debugging service binding
CD
Cloudflare Developers / pages-help
17mo ago
Service binding fetcher misunderstanding
CD
Cloudflare Developers / pages-help
2y ago
pages functions service binding to worker
CD
Cloudflare Developers / pages-help
2y ago
Error deploying pages project to preview environment
CD
Cloudflare Developers / pages-help
3y ago