Expand my Community achievements bar.

AEM GraphQL Schema Error

Avatar

Level 2

Hi Team,

We have created Content Fragment Model and GraphQL queries and its working as expected but while installing that Content Fragment Model in AEM servers below errors are throwing in logs, could someone kindly help to fix this issue.

 

*ERROR*
com.adobe.cq.dam.cfm.graphql.ModelCompiler
SchemaError : ErrorType: SCHEMA_INCOMPLETE_FIELD_REMOVED
Error location: /conf/abd/defg@field
Cause: Missing Nested Model(s)

*ERROR*
com.adobe.cq.dam.cfm.graphql.Metrics
aem.graphql:aem.graphql:MANAGED_ERROR : SCHEMA_INCOMPLETE_FIELD_REMOVED_ID_XXX

4 Replies

Avatar

Community Advisor

You seem to be having nested content fragment models.

Can you check if the nested model is also deployed which is probably referred here : /conf/abd/defg 

Avatar

Level 2

Hi @h_kataria ,

Thanks for your reply!

As part of package that reference models are there, but model installations orders not sure which installing first , is there any option to configure model installation order? my case i have 200 models in my config folder.

Avatar

Community Advisor

@karthik-elumalai 

 

It may not be possible to define order of installation. Safer approach might be to create separate packages.

200 models in a config seems to be a lot. Do they follow any structure which can help you define filters?


Aanchal Sikka

Hi @aanchal-sikka ,

 

Thanks for reply.

Do we have any limit on model count in AEM config?