Hi All,
We are on AEM as Cloud Service and we are using CIF to connect to commerce.
While authoring the products/categories, AEM is making an "IntrospectionQuery" call to commerce. This call gets the response but AEM is not making any more subsequent calls to fetch the products/category. Because of which, we are unable to author the products.
Can you please help in what can be the possibility of this.
NOTE: When we connect to different commerce instance, AEM is able to proceed further to product/category selection. On comparing, there are few field difference. Does the response of "IntrospectionQuery" need to have any specific field defined to proceed further or is there any limit on the response size.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
A key aspect of CIF integration is the "IntrospectionQuery," which allows the client (e.g., AEM components) to understand the schema of the commerce system's data. It is plausible that inconsistencies or incomplete data within the response could be a contributing factor. If this initial schema retrieval is faulty or incomplete, subsequent calls for product or category data may fail or behave unexpectedly.
hi @Ajay_KR,
I recall encountering a similar issue in the past. After extensive troubleshooting, we determined that the problem wasn't on the AEM side; rather, it was related to the backend, where the product catalog was inconsistent, particularly concerning categorization and product information.
Since you've already attempted to connect to another backend instance, we can confidently conclude that the issue does not lie with AEM. I suggest reaching out to the backend team to investigate the catalog further and examine the various fields involved.
Views
Replies
Total Likes
Hi @giuseppebag ,
Thanks for the response. we will check on the suggestion you provided.
Our site is able to pull the data and run smoothly. Only the issue is during the authoring. Do you still think its the issue with categorization and product information? Is there a possibility that "IntrospectionQuery" response having some data because of which all the subsequent calls are not triggering?
Regards,
Ajay
Views
Replies
Total Likes
A key aspect of CIF integration is the "IntrospectionQuery," which allows the client (e.g., AEM components) to understand the schema of the commerce system's data. It is plausible that inconsistencies or incomplete data within the response could be a contributing factor. If this initial schema retrieval is faulty or incomplete, subsequent calls for product or category data may fail or behave unexpectedly.
Hi @Ajay_KR
It looks like the issue is with the GraphQL schema from the commerce backend, not AEM. The IntrospectionQuery response likely has missing or mismatched fields that prevent AEM from triggering further product/category queries.
Please compare the schema with the working commerce instance and ensure all standard CIF types (like CategoryTree, ProductInterface, products, categories) are present. Also check if the response is complete and not truncated — AEM stops processing if it can’t fully parse the introspection data.
Hope this helpful 🙂
Regards,
Karishma.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies