Mar 30, 2026
1 min read

Troubleshooting common issues

Troubleshooting common issues
Quickly resolve issues and keep your workflow running smoothly.

The sections below outline the most common problems you might encounter while integrating Cloudflare Workers and Doppler and how to diagnose and resolve them quickly.

Local development shows"missing" secrets

This usually means your .dev.vars file is missing or out of sync with the current values in Doppler. Regenerate the file by pulling the latest secrets directly from Doppler:

After regenerating the file, restart your development server so the updated environment variables are picked up.

Doppler token not working in CI/CD

Service tokens are scoped to a specific configuration. If you're seeing authentication errors, verify that the token was created for the correct configuration, such as prd for production. Next, confirm that DOPPLER_TOKEN is correctly set in your CI/CD secrets. If issues persist, try regenerating the token and updating it in your pipeline.

Rate limiting on secret sync

If you have a large number of secrets(50 or more), you may encounter Cloudflare rate limits during sync. Wrangler's bulk upload handles this gracefully in most cases, but if you see rate-limit errors, you can reduce the upload pace by lowering the batch size:

This command syncs production secrets from Doppler to Cloudflare in smaller batches, which reduces the number of requests sent at once and helps avoid hitting rate limits.