Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

AEM magento venia integration sling exception issue

Avatar

Level 1

Hi,

 

I am using venia theme in AEM but it is giving me below error.

lavishranosys_0-1663673940787.png

 

No component is displaying on frontend. I had used the same step as mention in the https://github.com/adobe/aem-cif-guides-venia url.

1 Reply

Avatar

Administrator

I think the following are the possible causes of the issue:

  • The Commerce API configuration file is missing or incorrect.
  • The Commerce API is not installed or enabled.
  • The Commerce API is not accessible to the AEM instance.
  • The storefront instance context is not properly configured.
  • The storefront instance is not running.
  • The AEM instance is not able to connect to the storefront instance.

To troubleshoot the issue, you can try the following steps:

  1. Check the Commerce API configuration file to make sure that it is properly configured. You can find the Commerce API configuration file in the /etc/commerce/commerce-api.properties file.
  2. Install and enable the Commerce API if it is not already installed. You can do this by running the following command:
aem install commerce-api
  1. Make sure that the Commerce API is accessible to the AEM instance. You can do this by checking the commerce.server.url property in the /etc/commerce/commerce-api.properties file. This property should point to the URL of the Commerce API server.
  2. Check the storefront instance context configuration to make sure that it is properly configured. You can find the storefront instance context configuration file in the /etc/commerce/venia/venia-instance-context.json file.
  3. Make sure that the storefront instance is running. You can check this by running the following command:
sudo systemctl status venia
  1. Make sure that the AEM instance is able to connect to the storefront instance. You can do this by running the following command:
curl -I http://localhost:8080/venia/venia-instance-context

 

If you have followed all of these steps and you are still getting the error, then you may need to contact Adobe support for further assistance Or Create an Issue on https://github.com/adobe/aem-cif-guides-venia



Kautuk Sahni