# The length of the URL for this request exceeds the configured maxUrlLength value

**URL:** <https://community.dynatrace.com/t/the-length-of-the-url-for-this-request-exceeds-the-configured-maxurllength-value/51072>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, oneagent\
**Created:** [April 4, 2025, 1:51pm UTC](https://community.dynatrace.com/t/the-length-of-the-url-for-this-request-exceeds-the-configured-maxurllength-value/51072 "2025-04-04T13:51:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nbarry](https://avatars.discourse-cdn.com/v4/letter/n/c37758/32.png) [@nbarry](https://community.dynatrace.com/u/nbarry)\
**Post date:** [April 4, 2025, 1:51pm UTC](https://community.dynatrace.com/t/the-length-of-the-url-for-this-request-exceeds-the-configured-maxurllength-value/51072/1 "2025-04-04T13:51:13Z")

</div>

— is caused by the _entire path segment_ of the URL exceeding the maxUrlLength setting in the IIS or [ASP.NET](http://ASP.NET) configuration.

### Key Context:

- **Default**  **maxUrlLength** in [ASP.NET](http://ASP.NET) is **260 characters**.
- This **does not** include query string parameters (?key=value) — it’s strictly the **path** portion after the domain name.

### Caused By:

**Dynatrace Real User Monitoring (RUM) script injection**, specifically the way ruxitagent.js is loaded and metadata is encoded for session tracing.&nbsp;&nbsp;Dynatrace agent is not tuned to respect URL length limits.

---

<div class="post-metadata">

**Author:** ![yanezza](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yanezza/32/5036_2.png) [@yanezza](https://community.dynatrace.com/u/yanezza)\
**Post date:** [April 5, 2025, 4:59pm UTC](https://community.dynatrace.com/t/the-length-of-the-url-for-this-request-exceeds-the-configured-maxurllength-value/51072/2 "2025-04-05T16:59:48Z")

</div>

Hi!

You should [open a support ticket](https://one.dynatrace.com) to investigate it and determine the next steps.
