Subject: Workers not applied

Customer's Ticket "I've just added a Worker on the Cloudflare Dashboard for my website: it works in the debugger but doesn't work when I query the site. Why is that? Is there anything to activate or anything I could check?"

Dear Customer,

Thank you for reaching out to Cloudflare Support. I understand that you've added a Worker to your

site, and while it works in the debugger, it doesn't seem to be functioning when you query your site

directly. Let's troubleshoot this issue together.

Steps to Ensure Your Worker is Applied Correctly

  1. Worker Route Configuration:
  2. Script Activation:
  3. Domain Configuration:
  4. Cache Issues:
  5. Error Logs and Debugging:
  6. Propagation Time:

Additional Tips

  • Service Bindings: If your Worker relies on any Service Bindings (such as KV storage or Durable
    Objects), ensure these are properly configured and accessible.
  • Firewall Rules: Check if there are any firewall rules or security settings that might be blocking
    the Worker requests. Go to Firewall > Firewall Rules to review and adjust accordingly.
  • If you've gone through these steps and your Worker still isn't functioning as expected, please
    provide us with the following details so we can assist you further:

  • The specific route or URL pattern the Worker is supposed to be applied to.
  • Any error messages you are seeing in the logs.
  • A brief description of what the Worker script is intended to do.
  • We are here to help and ensure your Worker operates smoothly. Thank you for choosing Cloudflare.

    Best regards,
    Saber Moahmed
    Cloudflare Support Team