Expand my Community achievements bar.

SOLVED

Graphql error: did not yield content fragment

Avatar

Level 2

Hello,

 

I am using aem cloud sanbox environment.

I am using graphql to fetch content fragment. It is working perfectly on author instance but when I check on publish instance then getting this error in response:

 

{"errors":[{"message":"Exception while fetching data (/ourClientsReferenceByPath) : Path: '%2Fcontent%2Fdam%2Franosys-website%2Four-clients%2Fparent-fragment%2Fclients-homepage' did not yield a Content Fragment","locations":[{"line":2,"column":3}],"path":["ourClientsReferenceByPath"],"extensions":{"classification":"DataFetchingException"}}],"data":null}

 

Please help to provide the solution.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @neelanshb11 

 

Can you confirm if all the configurations are made as per the documentation here:

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/assets/admin/graphql-api-co...

 

Thanks!

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @neelanshb11 

 

Can you confirm if all the configurations are made as per the documentation here:

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/assets/admin/graphql-api-co...

 

Thanks!