# HTTP 403 status on the JavaScript Agent or Beacon requests.

**URL:** <https://community.dynatrace.com/t/http-403-status-on-the-javascript-agent-or-beacon-requests/46911>\
**Category:** Troubleshooting\
**Tags:** real-user-monitoring-classic\
**Created:** [July 31, 2024, 1:05pm UTC](https://community.dynatrace.com/t/http-403-status-on-the-javascript-agent-or-beacon-requests/46911 "2024-07-31T13:05:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![toufic\_chamandi](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/toufic_chamandi/32/4356_2.png) [@toufic\_chamandi](https://community.dynatrace.com/u/toufic_chamandi)\
**Post date:** [July 31, 2024, 1:05pm UTC](https://community.dynatrace.com/t/http-403-status-on-the-javascript-agent-or-beacon-requests/46911/1 "2024-07-31T13:05:04Z")

</div>

_Summary: RUM data is sometimes missing because the JS Agent or RUM beacons are being blocked. This article provides information on this issue and how to resolve it._

## Problem

You’ve deployed Dynatrace to your infrastructure and expect to see RUM data, but can’t see anything being captured. When you open the developer tools, you notice a 403 status for the JavaScript agent or beacon requests, which hold the RUM data to be sent back to Dynatrace.

- JavaScript Agent 403 example:

![toufic_chamandi_0-1722408701946.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/4/c4608d132ee8eec4b303c090a99a9bb07e67456c.png)

- Beacon requests 403 example:&nbsp;

 ![toufic_chamandi_1-1722409204992.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/d/5d6e5db7200d3371e009b9c0fffb206836f63958.png)

## What is this error and why is this happening?

Definition of ‘HTTP 403’:&nbsp;HTTP ' **403 Forbidden’** &nbsp;client error response&nbsp;&nbsp;status code indicates that the server understood the request but refused to process it.

**T**** his error is usually thrown because you have a firewall that is blocking these requests.**

## Solution

The fix here is straight forward and there are 2 options you can use:

- you will have to unblock these requests. We have a document containing all of the requests and headers that need to be allowed:&nbsp;[Infrastructure pass-through requirements for RUM Classic — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/rum-firewall)
- [Configure a beacon forwarder](https://docs.dynatrace.com/docs/shortlink/beacon-forwarder) (This fix does bypass the infrastructure and sends data directly to the cluster ActiveGate but there is a possibility that the traffic is also blocked): Web → Application → Settings → general settings → Beacon endpoint → Cluster ActiveGate

## What’s Next?

If you’ve completed the troubleshooting steps above but haven’t been able to identify the root cause of your issue and solve it, please contact Dynatrace via the in-product chat or by creating a support ticket.

To help our support team investigate efficiently, include the following information:

- Access details, if the page is publicly available and you can grant access to the support team.
- If access cannot be granted: A&nbsp;[HAR file](https://community.dynatrace.com/topic/223391), or, preferably, a&nbsp;[Fiddler session](https://community.dynatrace.com/topic/239009)&nbsp;capturing the full scenario—ideally with&nbsp;`dtHealthCheck`&nbsp;enabled.
- A brief summary of the troubleshooting steps you’ve completed.

Providing this information upfront will help speed up the resolution process.

**What to read next:**

![HannahM_0-1769097109026.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/b/eb6d9d4379a236243b3b08861f33a5d309710d6d.png)  
[Firewall constraints for RUM](https://docs.dynatrace.com/docs/observe/digital-experience/web-applications/initial-setup/firewall-constraints-for-rum)

![HannahM_0-1769097109026.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/b/eb6d9d4379a236243b3b08861f33a5d309710d6d.png)  
[Troubleshooting automatic RUM injection failures](https://community.dynatrace.com/topic/287116)

![HannahM_0-1769097109026.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/b/eb6d9d4379a236243b3b08861f33a5d309710d6d.png)  
[RUM initial setup for web applications](https://docs.dynatrace.com/docs/observe/digital-experience/web-applications/initial-setup)

![HannahM_0-1769097109026.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/b/eb6d9d4379a236243b3b08861f33a5d309710d6d.png)  
[Troubleshooting RUM for web applications](https://docs.dynatrace.com/docs/observe/digital-experience/web-applications/troubleshooting)

![HannahM_0-1769097109026.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/b/eb6d9d4379a236243b3b08861f33a5d309710d6d.png)  
[Troubleshooting RUM setup issues for web applications](https://community.dynatrace.com/topic/239643)

![HannahM_0-1769097109026.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/b/eb6d9d4379a236243b3b08861f33a5d309710d6d.png)  
[RUM Application traffic is not captured by Dynatrace.](https://community.dynatrace.com/topic/263922)
