Error 1105

Error 1105 Worker script compilation error Error

Category: Cloudflare Errors | Platforms: cloudflare

What This Error Means

Error 1105 signifies that Cloudflare was unable to successfully compile your Worker script. This typically arises when the JavaScript code contains syntax errors, attempts to use unsupported APIs or features, or exceeds resource limits during compilation. The compilation process is crucial for the Worker to execute correctly on Cloudflare's edge network.

Common Causes

  • Syntax errors in the JavaScript code of the Worker script.
  • Use of JavaScript features or APIs not supported by Cloudflare Workers runtime.
  • Exceeding the maximum allowed size or complexity for Worker scripts during compilation.
  • Typos in variable names or function calls within the script.
  • Issues with imported modules or dependencies specified within the script.

How to Fix It (For Users)

  1. 1 If you are not the website owner, there is nothing you can do to resolve this issue. Contact the website administrator and inform them of the error.
  2. 2 Try again later, as the issue may be temporary on the server side.

For Site Owners / Developers

  1. Carefully review the Worker script for syntax errors using a JavaScript linter or IDE.
  2. Ensure that all JavaScript features and APIs used in the script are supported by the Cloudflare Workers runtime. Refer to the Cloudflare Workers documentation for a list of supported features.
  3. Reduce the complexity of the script, if possible, by breaking it down into smaller functions or modules.
  4. Check for typos in variable names, function calls, and other parts of the script.
  5. Verify that any imported modules or dependencies are correctly specified and available to the Worker script.
  6. Test the Worker script locally using a tool like `wrangler dev` before deploying it to Cloudflare.
  7. Examine the compilation logs in the Cloudflare dashboard for more detailed error messages and debugging information.

When It Is NOT Your Fault

This error is almost always due to an issue with the website's code or configuration. It is rarely the end user's fault.

Check if this outage affects everyone globally

This error often indicates a wider problem. Use our tool to verify if the site is down for everyone.

Check Website Status →

Recommended Tool to Prevent This Error

Fix DNS resolution issues and protect your site from DDoS attacks with Cloudflare.

Cloudflare DNS & Security