Cloudflare & edge errors

    Cloudflare Error 1101: Worker threw exception

    Also searched as: Error 1101 · Error 1101 Worker threw exception · Cloudflare Worker threw exception

    Is Cloudflare Error 1101 happening on your domain?

    A live check confirms whether the error is being returned to everyone right now and on which address, which narrows it to the route the Worker handles.

    Free, no signup. Runs from outside your network, which is the only way to tell a server fault from a local one.

    Short answer

    The site runs code on Cloudflare Workers, and that code crashed while handling the request. It is a bug or an unhandled failure in the site's own code. Visitors cannot fix it. The owner needs to read the Worker's logs to find the exception.

    What Cloudflare Error 1101 means

    A Cloudflare Worker is a script that runs at Cloudflare's edge for each request. If the script throws an error that nothing catches, Cloudflare has no response to send and returns Error 1101 instead.

    Causes and fixes, most likely first

    most common

    The Worker's code throws an exception that is not caught.

    Run wrangler tail, or open the Worker's logs in the Cloudflare dashboard, and reproduce the request. The log shows the exception and the line. Wrap request handling in try and catch so failures return a proper error page.

    common

    A service the Worker calls failed or returned something unexpected.

    Check the calls the Worker makes to APIs, databases and storage. Handle non-200 responses and timeouts, and do not assume a response body can be parsed.

    occasional

    A binding, secret or environment variable is missing after a deploy.

    Compare the Worker's bindings and secrets with what the code expects. A variable that exists in one environment and not another fails on the first request that uses it.

    How to stop it happening again

    • •Catch errors at the top of the Worker's request handler, and monitor the pages the Worker serves, so a failed deploy is noticed in minutes.

    Frequently asked questions

    Is Error 1101 a Cloudflare outage?

    No. Cloudflare is working and is reporting that the site's own Worker code failed. Other sites on Cloudflare are not affected.

    Related errors

    Monitor this continuously with LemWatch

    A one-off cloudflare error 1101 monitoring is a snapshot, not ongoing protection. Keep uptime, performance, SEO and security signals together with scheduled monitoring and configured alerts. Start free for 10 sites, no card needed.

    Explore ongoing SEO checks · Compare free monitoring options

    Last verified: by the Lemwatch research team.