Hello Team, Today, I wanted to share a real scenario and a solution of it about what happened suddenly to our components and how we identified it and how we resolved it, and most importantly it could happen to your installations too Scenario We have one Sitecore 10.2 headless instance and two sites, One site is non-sxa which is legacy site and another site is a new site which uses headless SXA. Now, non-sxa site is already live and working fine with all components etc. and the new headless site was in development and it has separate development team, So we have same DEV/UAT/PROD environments. One fine morning they took their code and site on environment but strangely some of the GQL components like header footer of legacy site disappeared. Troubleshooting Steps 1) We checked the broken component's GQL query 2) We took that query and fired it in GQL IDE, and we observed that, Some of the templates references we used were not found, which was working just fine and we have not had
Hi Team, We all work with GraphQL playground which was new some years back and we were all learning, today i am going to share a scenario which you might face too, So you can get the answer or solution handy with this blog post Scenario There are many of our components and code calling GQL, All works fine, but one scenario where it kept showing "Unknown type", There was nothing fancy there and same query and same expectations but it was failing, Below are details of it. So, The context is i created a template, and also created items from that template. Now, I had to write GQL just expose those content because our another downstream system will consume that data and use it. But when i wrote simple query, it kept giving me "Unknown type" error and i was little clueless, Here is what is kept showing. Troubleshooting 1) I double checked, If template "RecurringScript" exists with same name in Sitecore 2) I renamed the template just to try but it did not work