Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Graphql error: did not yield content fragment

neelanshb11
Level 1
Level 1

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 Reply