gotchas.md
attributes
| source_path | references/bindings/gotchas.md |
|---|---|
| source_sha256 | 6d074cb6f7c11d1fd3551305711d1c7eddd409252ac1c7ea982c0fc4761426a6 |
| source_url | https://github.com/cloudflare/skills/blob/47dfc2ce969bf62acf8bc231198ade4bb02712e0/skills/cloudflare/references/bindings/gotchas.md |
| supporting_skill_id | 40184 |
| upstream_revision | 47dfc2ce969bf62acf8bc231198ade4bb02712e0 |
Binding Gotchas and Troubleshooting
Start by checking the binding name, selected environment, and actual target resource. Regenerating types alone does not fix a missing runtime binding.
| Symptom or question | What to check |
|---|---|
| A binding is undefined or points to unexpected data | Binding configuration and environment inheritance |
| TypeScript cannot find a binding or runtime type | Current type generation and TypeScript setup |
| Updated credentials are not reflected in a client | Binding changes and retained global state; verify the secret's environment and deployment |
| Binding calls fail outside a handler | Environment access and global-scope restrictions |
| A service target is unavailable or incorrect | Service bindings and multi-Worker development |
| Local data, secrets, or available bindings differ from deployment | Development mode support, local data, and local secrets |
| KV reads appear stale or return no value | How KV works; verify the namespace and handle missing values |
| Resource-specific API errors or limits | Follow the product from the binding catalog to its troubleshooting and limits documentation |
| Worker resource limits or unexpected charges | Workers limits and pricing; check each bound product's limits and pricing separately |
| Need to inspect configuration, resources, deployments, or logs | Wrangler commands and real-time logs |
Never log secret values or return the environment object in a response. Inspect names and configuration without exposing credentials. Check the selected resource and development mode before issuing debugging commands that could mutate remote data.
Children
No children yet.
Like how this is organised?
Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.