# Error - Array has too many items

**URL:** <https://community.dynatrace.com/t/error-array-has-too-many-items/55015>\
**Category:** Developer Q&A Forum\
**Created:** [February 16, 2026, 8:58pm UTC](https://community.dynatrace.com/t/error-array-has-too-many-items/55015 "2026-02-16T20:58:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GP2000](https://avatars.discourse-cdn.com/v4/letter/g/5daacb/32.png) [@GP2000](https://community.dynatrace.com/u/GP2000)\
**Post date:** [February 16, 2026, 8:58pm UTC](https://community.dynatrace.com/t/error-array-has-too-many-items/55015/1 "2026-02-16T20:58:45Z")

</div>

While working with extension.yaml in Dynatrace Plug-in for VS Code, I’ve got an error in VS Code after having 20 \<group\>'s:

“Array has too many items. Expected 20 or fewer”.

Basically, I’m just creating SQL Extension 2.0 and adding over 20 SQL queries.&nbsp; Is there a hard limit of 20 somewhere?  
Can I create multiple configurations, and upload them separately?

Thanks!

---

<div class="post-metadata">

**Author:** ![Tom\_sSeroteRoos](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@Tom\_sSeroteRoos](https://community.dynatrace.com/u/Tom_sSeroteRoos)\
**Post date:** [February 17, 2026, 8:54am UTC](https://community.dynatrace.com/t/error-array-has-too-many-items/55015/2 "2026-02-17T08:54:34Z")

</div>

Hi&nbsp;[@GP2000](https://community.dynatrace.com/user/15616),

Yes, the schema has a hard limit of 20 groups that you can create per extension. However, each group can have 20 subgroups, which in total allows you to have 20x20 = 400 queries.

---

<div class="post-metadata">

**Author:** ![GP2000](https://avatars.discourse-cdn.com/v4/letter/g/5daacb/32.png) [@GP2000](https://community.dynatrace.com/u/GP2000)\
**Post date:** [February 20, 2026, 2:01pm UTC](https://community.dynatrace.com/t/error-array-has-too-many-items/55015/3 "2026-02-20T14:01:39Z")

</div>

Thanks a lot!! That did the trick!
