# \[Potential Bug?\]Maximum Nesting Levels Supported by \[:dynamic-slug\] Syntax for Dynamic Pages

**URL:** <https://community.hubspot.com/t/potential-bug-maximum-nesting-levels-supported-by-dynamic-slug-syntax-for-dynamic-pages/93270>\
**Category:** CMS Development\
**Tags:** enterprise\
**Created:** [November 3, 2023, 7:50pm UTC](https://community.hubspot.com/t/potential-bug-maximum-nesting-levels-supported-by-dynamic-slug-syntax-for-dynamic-pages/93270 "2023-11-03T19:50:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![iqoOopi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/iqooopi/32/52644_2.png) [@iqoOopi](https://community.hubspot.com/u/iqoOopi)\
**Post date:** [November 3, 2023, 7:50pm UTC](https://community.hubspot.com/t/potential-bug-maximum-nesting-levels-supported-by-dynamic-slug-syntax-for-dynamic-pages/93270/1 "2023-11-03T19:50:30Z")

</div>

I am following the guide on [creating dynamic pages by use data from a GraphQL query](https://developers.hubspot.com/docs/cms/data/use-graphql-data-in-your-website-pages#:~:text=In%20the%20example%20above%2C%20the,top%20of%20your%20GraphQL%20query) using the [:dynamic-slug] syntax. While the documentation mentions creating dynamic pages, it doesn’t specify the maximum number of nesting levels supported.  
In testing:

1. Page settings: [:dynamic-slug] is applied after /rent

 ![iqoOopi_2-1699040925531.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/b/db107b1212553225a861cdc196f6e53bcdc62e99.png)

1. I found that URLs with four levels (e.g., /en-ca/rent/1/2/3/4) work as expected,

 ![iqoOopi_0-1699040809707.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/8/680f4b512ad7ce68123c267f0678f84230144e6e.png)

I’m display [:dynamic-slug] out after “REQUEST”

1. but adding a fifth level returns a 404 error (e.g., /en-ca/rent/1/2/3/4/5).

 ![iqoOopi_1-1699040857462.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/a/fab50536fbe28519d788a0a9cfda97b30ccc9dae.png)

This differs from the usual support of five levels for normal dynamic pages.

Is the maximum limit for [:dynamic-slug] syntax four levels, or is there a configuration to allow a fifth level or it is actually a bug?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [November 6, 2023, 6:53pm UTC](https://community.hubspot.com/t/potential-bug-maximum-nesting-levels-supported-by-dynamic-slug-syntax-for-dynamic-pages/93270/2 "2023-11-06T18:53:15Z")

</div>

Hi, @iqoOopi 👋 Thanks for reaching out. I’ll flag this to the team that owns these endpoints. I’ll update here with any additional information.

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![iqoOopi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/iqooopi/32/52644_2.png) [@iqoOopi](https://community.hubspot.com/u/iqoOopi)\
**Post date:** [November 10, 2023, 4:46pm UTC](https://community.hubspot.com/t/potential-bug-maximum-nesting-levels-supported-by-dynamic-slug-syntax-for-dynamic-pages/93270/3 "2023-11-10T16:46:51Z")

</div>

Thanks [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074)

---

<div class="post-metadata">

**Author:** ![iqoOopi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/iqooopi/32/52644_2.png) [@iqoOopi](https://community.hubspot.com/u/iqoOopi)\
**Post date:** [January 24, 2024, 4:11pm UTC](https://community.hubspot.com/t/potential-bug-maximum-nesting-levels-supported-by-dynamic-slug-syntax-for-dynamic-pages/93270/4 "2024-01-24T16:11:36Z")

</div>

Any news?
