Forge: error document exceeds 10 resources valid-resource-required

Hello everyone,

I’m in the process of migrating an app from UI Kit (v1) to Custom UI, and I’m encountering the following error when attempting to deploy:

error    document exceeds 10 resources  valid-resource-required

This issue persists even when I run:

forge deploy --no-verify

Does anyone know if it’s possible to increase this limit or if there’s a workaround for this?

Thanks in advance!

Best,
Rui Rodrigues

Hi @rmrodrigues , 10 resources is the platform limit. How many resources are you attempting to deploy? Are you able to combine some of these resources together into one?

1 Like

Hi @QuocLieu ,
Thank you for your answer.

I have 6 macros, and for each macro, I have 2 resources:

  • View screeen
  • Config screen

I’m using custom UI.
I’m trying to deploy 14 resources because we have other screens.

Are you able to combine some of these resources together into one?

How can I do it?

Thanks.

Cheers,
Rui Rodrigues.