# Find Why Cloudflare Enterprise Blocked a Request With Its Ray ID

> Copy the Ray ID from a Cloudflare block page, look it up in the site's Cloudflare Enterprise Security tab, and see the exact action, source and rule that stopped the request.

When a visitor, editor or API client sees a Cloudflare block page on a site that uses the [Cloudflare Enterprise add-on](/docs/how-to-activate-the-cloudflare-enterprise-addon/), the **Ray ID** on that page tells you exactly why. Paste it into **Find an event by Ray ID** on the site's Cloudflare Enterprise **Security** tab and xCloud shows the action Cloudflare took, which security product took it, and the exact rule that matched.

Use this guide when a request returns a Cloudflare "Sorry, you have been blocked" page, a challenge page, or a 403 response, and you need to know whether the WAF, a rate limit or another Cloudflare check caused it before you change anything.

## What you need

- A site, or an external domain, with the Cloudflare Enterprise add-on active.
- Access to that site's **Cloudflare Enterprise** page in xCloud.
- The Ray ID from the block page, and roughly when the request happened.

## Step 1: Copy the Ray ID from the block page

Cloudflare prints the Ray ID at the bottom of its block and challenge pages, next to **Cloudflare Ray ID**. It is a 16-character code made of the numbers 0 to 9 and the letters a to f, for example `8f2c1a9b7d3e4f60`.

If a visitor reported the problem, ask them for a screenshot of the full page or the code itself, and the time they saw it. Each request gets its own Ray ID, so a code from an older attempt still points to that older attempt.

**Expected result:** You have one 16-character Ray ID and an idea of when the request was made.

## Step 2: Open the Security tab

In xCloud, open the site and select **Cloudflare Enterprise** in the site menu. Then select the **Security** tab.

![Select the 'Security' tab on the site's Cloudflare Enterprise page in xCloud](/_landing/docs/find-why-cloudflare-enterprise-blocked-a-request-with-its-ray-id-image-1.png)

For a domain hosted outside xCloud, go to **Addons → Cloudflare Enterprise**, open the domain, and select its **Security** tab. It has the same Ray ID lookup. See [How to Use Cloudflare Enterprise for External Domains](/docs/how-to-use-cloudflare-enterprise-for-external-domains/).

**Expected result:** The tab shows **Events Summary**, with a time range menu (default **Last 12 hours**) and the **Find an event by Ray ID** box below the totals.

## Step 3: Choose a time range that covers the request

Open the time range menu at the top of the tab and pick a range that includes the moment the request was blocked: **Last 30 minutes**, **Last 6 hours**, **Last 12 hours**, **Last 24 hours**, **Last 7 days** or **Last 14 days**.

The Ray ID search only looks inside the selected range. Changing the range clears an earlier lookup, so pick the range first.

**Expected result:** The **Events Summary** reloads for the range you chose.

## Step 4: Paste the Ray ID and select Find event

Paste the code into the **Cloudflare Ray ID** field under **Find an event by Ray ID**, then select **Find event**.

![Paste the Ray ID into the 'Cloudflare Ray ID' field and click 'Find event' in the Cloudflare Enterprise Security tab](/_landing/docs/find-why-cloudflare-enterprise-blocked-a-request-with-its-ray-id-image-2.png)

**Find event** stays unavailable until the code is valid. If you see **A Cloudflare Ray ID must contain exactly 16 hexadecimal characters.**, remove any spaces or extra text you copied with it. Upper or lower case both work.

**Expected result:** A table of matching events appears below the field. Select **Clear** to empty the field and start a new search.

## Step 5: Read the result

Each row is one security event Cloudflare recorded for that request. Times are shown in UTC.

| Column | What it shows |
|---|---|
| **Time** | When Cloudflare recorded the event. |
| **Action** | What Cloudflare did, such as **Block**, a challenge, **Log** or **Skip**. The security product that acted is shown under it, for example `firewallManaged` (the managed WAF rules), `firewallCustom` (custom rules) or `ratelimit` (rate limiting). |
| **Request** | The method and path, the hostname, and the visitor's IP address and country. Query strings are not shown. |
| **Rule** | The rule's name (or **Unnamed rule**), its rule ID and its ruleset ID. |
| **Ray ID** | The Ray ID and the HTTP status Cloudflare returned, such as HTTP 403. |

A single Ray ID can show more than one row, because Cloudflare records an event for each security check the request passed through. **The row with a Block or challenge action is the one that stopped the request.** Rows with Log or Skip were recorded but did not block anything.

For the full list of action and source values, see Cloudflare's [Security Events documentation](https://developers.cloudflare.com/waf/analytics/security-events/).

**Expected result:** You know the action, the security product and the rule behind the block.

## Step 6: Decide what to do next

What you do depends on the source of the blocking row.

| What the row shows | What it usually means | What to do |
|---|---|---|
| A managed WAF rule (`firewallManaged`) on a normal visitor or editor action, such as saving a post | A false positive: content in the request looked like an attack | Keep the WAF on. Send the Ray ID, the rule name and the rule ID to our support team so they can check whether a narrow exception is possible. |
| A managed WAF rule on a request you don't recognise | The WAF stopped a likely attack | No action needed. |
| Rate limiting (`ratelimit`) | One IP address sent too many requests in a short time | Check whether the IP is yours, a monitoring tool or an integration, and review **Rate Limiting** in the **Settings** tab. |
| A challenge with **Under Attack Mode** on | Every visitor gets a check before the page loads | Turn off **Under Attack Mode** in the **Settings** tab of the site's Cloudflare Enterprise page once the attack is over. |

xCloud already adds narrow exceptions for some known false positives from WordPress editors. Each exception covers only the exact rule and request involved, so the rest of the site keeps its WAF protection. If an editor save is still blocked, the Ray ID and rule from this lookup are exactly what support needs to look at it.

## If the lookup does not return a result

| Message | Cause | Fix |
|---|---|---|
| **No security event was found for this Ray ID in the selected time range. If the request is older, choose a longer range and search again.** | The request is outside the selected range, belongs to a domain that is not on this site, or was not stopped by Cloudflare security | Choose **Last 14 days** and search again. Check you are on the right site or external domain. If it still finds nothing, the block most likely came from your site or server, not Cloudflare Enterprise security. |
| **Cloudflare event lookup is temporarily unavailable. Please try again shortly.** | xCloud could not read events from Cloudflare at that moment, or the domain is not active on Cloudflare Enterprise yet | Check the domain shows **Active** first. Then wait a minute and select **Find event** again. |
| **Only the first 50 matching phase events are shown. Narrow the selected time range if needed.** | The request recorded 50 or more events, and only the first 50 are shown | Pick a shorter range that still covers the request. |
| **Too many requests. Please try again in a minute.** (shown as a pop-up message) | Too many lookups were made in a short time | Wait a minute before the next search. |
| **Failed to look up the Cloudflare Ray ID.** (shown as a pop-up message) | The lookup could not be completed | Wait a moment and select **Find event** again. If it keeps failing, contact support. |

Events older than 14 days can't be looked up, so check a reported block soon after it happens.

## Frequently asked questions

### Where do I find the Ray ID?

At the bottom of the Cloudflare page the visitor saw, next to Cloudflare Ray ID. It is 16 characters long and uses only the numbers 0 to 9 and the letters a to f. Ask the visitor for a screenshot of that page or the code itself.

### Why does the lookup say no security event was found?

The search only covers the time range selected at the top of the Security tab, and only the domains on this site or external domain. Choose a longer range, up to Last 14 days, and search again. If it still finds nothing, the block most likely came from your site or server, not Cloudflare Enterprise security, so look there instead.

### One Ray ID shows several rows. Which one blocked the request?

The row whose action is Block or a challenge. Cloudflare records one event for each security check a request passed through, so a Ray ID can also show rows with Log or Skip, which did not stop the request.

### Should I turn off the Web Application Firewall to stop a false positive?

No. Turning off the WAF removes protection from the whole site. Keep the WAF on. Send the Ray ID, the rule name and the rule ID to our support team so they can check whether a narrow exception is possible.

## Related guides

- [How to Activate the Cloudflare Enterprise Add-on](/docs/how-to-activate-the-cloudflare-enterprise-addon/)
- [Cloudflare Enterprise Errors 525, 526 and 1014, and the www Hostname](/docs/cloudflare-enterprise-errors-525-526-1014-and-the-www-hostname/)
- [Troubleshooting Cloudflare Issues for WordPress](/docs/troubleshooting-cloudflare-issues-for-wordpress/)

If you run into any issues, feel free to reach out to our [support team](/docs/access-built-in-support-portal-in-xcloud/) with the Ray ID and the row you found.
