For one of my poc, I am planning to setup commerce cockpit and CIF components and I want to use Venia commerce store to setup(https://venia.magento.com/). I have downloaded and installed the package from https://github.com/adobe/aem-cif-guides-venia. I am trying to setup cloud config
Here is my com.adobe.cq.commerce.graphql.client.impl.GraphqlClientImpl config
GraphQL Service Identifier - https://venia.magento.com
Commerce Cloud Conf
I guess I should update "Catalog Root Category Identifier" . Does anyone know what should be the value for this field ?
Views
Replies
Total Likes
Hi @Mario248 ,
Mg== is encode value of 2 https://base64.guru/decode/Mg==
This value represent the root category id in Magento store.
You can try with this default value itself without changing.
You may refer below for details
https://www.mgt-commerce.com/tutorial/magento-2-root-category/
https://experienceleague.adobe.com/en/docs/commerce-admin/catalog/categories/category-root
Thanks
Thanks for your response. I see use the default config but commerce cockpit is loading
http://localhost:4502/commerce.html
I dont see any error in error log. It tells "The configuration venia is not available or did not return a valid schema". Looks like I have valid config but how do we check schema? Is there way to check valid schema ?
Hi @Mario248 ,
We can see the product is loading with default root category id 2 i.e. Mg==
Please change the endpoint(graphql service URL) to https://venia.magento.com/graphql
that is append /graphql
"data": {
"storeConfig": {
"store_code": "default",
"root_category_uid": "Mg==",
"__typename": "StoreConfig"
}
}
}
Thanks
I changed to POST but still commerce cockpit is not loading.
As @MukeshYadav_ you need to check the value represent the root category id in Magento store it can be "Mg==" or "Mw==" try with these two values and also in your configuration remove the default http headers and also check the advanced tab configuration GraphQL Proxy Path * and also check Enable Catalog UID Support to true
I tried with both "Mg==" or "Mw==" but still having same issue
FYI, I created a new post to fix the schema issue. can you pls take a look ? https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/unable-to-load-schema-in-c...
@Mario248 Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies