Developer Q&A Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error - Array has too many items

GP2000
Visitor

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.  Is there a hard limit of 20 somewhere?
Can I create multiple configurations, and upload them separately?

Thanks! 

2 REPLIES 2

TomásSeroteRoos
Dynatrace Advisor
Dynatrace Advisor

Hi @GP2000,

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.

Thanks a lot!! That did the trick!

Featured Posts