---
title: "Cloudflare Error 1101 — test your site, then fix it"
description: "Run a free live check to see whether Cloudflare Error 1101 is happening on your own domain right now, then work through the causes ranked most likely first."
canonical: "https://lemwatch.com/errors/cloudflare-1101"
source: "https://lemwatch.com"
---

# Cloudflare Error 1101: Worker threw exception

> 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.

## 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

- 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.
- 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.
- 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.

## Check your own 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.

## 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.



## Lemwatch at a glance

- What it is: website monitoring that checks uptime, page changes, SEO, security, SSL and speed in one tool.
- Free plan: 10 sites, no time limit, all check types.
- Pro: $19/mo, 50 sites, public API and webhooks.
- Agency: $59/mo, 150 sites, white-label status pages.
- Source: https://lemwatch.com/pricing (facts verified from the product's own plan limits).



## Related

- [All website error codes](https://lemwatch.com/errors)
- [Cloudflare Error 520](https://lemwatch.com/errors/cloudflare-520)
- [Cloudflare Error 521](https://lemwatch.com/errors/cloudflare-521)
- [Cloudflare Error 1016](https://lemwatch.com/errors/cloudflare-1016)
- [HTTP 500](https://lemwatch.com/http-status-codes/500)
- [Free Uptime & response check](https://lemwatch.com/tools/website-uptime)
- [Is it down? Check any website](https://lemwatch.com/is-down)
- [Cloudflare Error 1020: Access denied by a firewall rule](https://lemwatch.com/errors/cloudflare-1020)
