# Middleware - document tree depth exceeded

**URL:** https://meta.discourse.org/t/middleware-document-tree-depth-exceeded/401658
**Category:** Bug
**Tags:** fixed
**Created:** [April 28, 2026, 12:00am UTC](https://meta.discourse.org/t/middleware-document-tree-depth-exceeded/401658 "2026-04-28T00:00:37Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![RBoy](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@RBoy](https://meta.discourse.org/u/RBoy)
#### Post date: [April 28, 2026, 1:19am UTC](https://meta.discourse.org/t/middleware-document-tree-depth-exceeded/401658/3 "2026-04-28T01:19:10Z")

</div>

Saw this in the logs

| hostname | ip-app |
| --- | --- |
| process\_id | 2368 |
| application\_version | 4b2c45376db6321d798dba51dbb3b4fbf0f36976 |
| HTTP\_HOST | [discussion.mcebuddy2x.com](http://discussion.mcebuddy2x.com) |
| REQUEST\_URI | /uploads/short-url/iDeby35Xig2kyc6V3FyjmmEPRHL.zip?tl=fr |
| REQUEST\_METHOD | GET |
| HTTP\_USER\_AGENT | Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.116 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) |
| HTTP\_ACCEPT | text/html,application/xhtml+xml,application/signed-exchange;v=b3,application/xml;q=0.9,_/_;q=0.8 |
| HTTP\_X\_FORWARDED\_FOR | 66.249.72.4 |
| HTTP\_X\_REAL\_IP | 66.249.72.4 |
| time | 9:15 pm |
| | params tl fr |

---

_[View the full topic](https://meta.discourse.org/t/middleware-document-tree-depth-exceeded/401658)._
