Where is Error Log

I’m getting an error on my worker and it only happens when I access it directly and not through the editor. When I get this error it says " you should login to Cloudflare and check the error logs for mydomain.com"

The thing is I cannot find error logs anywhere!
Can anyone point me in the right direction?

1 Like

I’ve never heard of such a thing. Though they might be referring to a possible error log in the Editor, which isn’t going to help in your case since the Editor version is working.

Maybe @KentonVarda has some troubleshooting tips.

I was getting Error 1101 found the Debugging Tips page and it said it was a Javascript error. Then in the preview editor I noticed a message about caching not working in the editor so this made me wonder… I was calling cache.match and cache.put.

Once I removed the caching calls it started working so I’m guessing that it’s the caching elements of my script. Thought is either I need to pay more (only using Free Tier to try it out) or the code itself is wrong.

To confirm it fails on let cacheResponse = await cache.match(cacheKey);

cache var is set using let cache = caches.default;

Would it be an issue sharing the code here?

If you use the Workers editor there’s a console that will show you error details. What’s cacheKey?

If you look at my initial question, it worked fine in Editor as cache is disabled in there. My company have splashed out for a business account now so seeing if that makes a difference!

BTW I’m loving this community, very helpful thank you


I’m getting the same from my worker, when accessing it from a certain host (DigitalOcean VPS).

If you are the owner of this website: you should login to Cloudflare and check the error logs for burd.se.

The code is public: https://github.com/dentarg/ip

You can try out the worker too: https://burd.se/ip

Ping @KentonVarda

EDIT: I noticed the 1101 code now. EDIT2: And I’ve fixed the JS error.

Same I am also getting an error and in the Error Message from Cloudflare it’s telling me to check the error logs. Then I came here to find nobody knows about them … xD feels good.

<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<title>Worker threw exception | www.yogibell.com | Cloudflare</title></title>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection" />
<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" type="text/css" media="screen,projection" /><![endif]-->
<style type="text/css">body{margin:0;padding:0}</style>

<!--[if gte IE 10]><!-->
  if (!navigator.cookieEnabled) {
    window.addEventListener('DOMContentLoaded', function () {
      var cookieEl = document.getElementById('cookie-alert');
      cookieEl.style.display = 'block';

  <div id="cf-wrapper">
    <div class="cf-alert cf-alert-error cf-cookie-error" id="cookie-alert" data-translate="enable_cookies">Please enable cookies.</div>
    <div id="cf-error-details" class="cf-error-details-wrapper">
      <div class="cf-wrapper cf-header cf-error-overview">
          <span class="cf-error-type" data-translate="error">Error</span>
          <span class="cf-error-code">1101</span>
          <small class="heading-ray-id">Ray ID: 6d32b2dc7c0b2ca3 &bull; 2022-01-25 15:57:41 UTC</small>
        <h2 class="cf-subheadline" data-translate="error_desc">Worker threw exception</h2>
      </div><!-- /.header -->

      <section></section><!-- spacer -->

      <div class="cf-section cf-wrapper">
        <div class="cf-columns two">
          <div class="cf-column">
            <h2 data-translate="what_happened">What happened?</h2>
            <p>You've requested a page on a website (www.yogibell.com) that is on the <a data-orig-proto="https" data-orig-ref="www.cloudflare.com/5xx-error-landing/" target="_blank">Cloudflare</a> network. An unknown error occurred while rendering the page.</p>

          <div class="cf-column">
            <h2 data-translate="what_can_i_do">What can I do?</h2>
            <p><strong>If you are the owner of this website:</strong><br />you should <a data-orig-proto="https" data-orig-ref="www.cloudflare.com/login?utm_source=error_100x" target="_blank">login to Cloudflare</a> and check the error logs for www.yogibell.com.</p>
      </div><!-- /.section -->

      <div class="cf-error-footer cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0 border-t border-gray-300">
  <p class="text-13">
    <span class="cf-footer-item sm:block sm:mb-1">Cloudflare Ray ID: <strong class="font-semibold">6d32b2dc7c0b2ca3</strong></span>
    <span class="cf-footer-separator sm:hidden">&bull;</span>
    <span class="cf-footer-item sm:block sm:mb-1"><span>Your IP</span>:</span>
    <span class="cf-footer-separator sm:hidden">&bull;</span>
    <span class="cf-footer-item sm:block sm:mb-1"><span>Performance &amp; security by</span> <a rel="noopener noreferrer" href="https://www.cloudflare.com/5xx-error-landing" id="brand_link" target="_blank">Cloudflare</a></span>
</div><!-- /.error-footer -->

    </div><!-- /#cf-error-details -->
  </div><!-- /#cf-wrapper -->

  <script type="text/javascript">
  window._cf_translation = {};


The “error logs” refers to tailing a Worker. In the past, this could be done using wrangler tail in your project directory, but the feature can now also be found in the dashboard.

Deep-linking for Workers? Please.

1 Like

can you share the link of the page you are sharing please

i am getting same error for Cloudflare page functions and cant see this page

This feature is currently not available for Pages Functions as far as I can tell. You’d have to debug locally using Wrangler 2.0.