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

AEM 6.1 integration issues with Hybris 5.4 server

Avatar

Level 2

I am using AEM 6.1 SP1 and Hybris server 5.4. Also imported AEM hybris packages "cq-geometrixx-hybris-content-6.0.58.zip" & "cq-hybris-content-6.0.58.zip". AEM & Hybris are installed in my local machine.

I am pretty new to ecommerce (Hybris) integration. I have gone through the steps of adobe documentation. Below are the URL's

https://docs.adobe.com/docs/en/aem/6-1/deploy/ecommerce/hybris.html

https://docs.adobe.com/docs/en/aem/6-1/administer/ecommerce/hybris.html

 

When I am trying to import outdoor catalog using importer ("http://localhost:4502/etc/importers/hybris.html") below error is displaying. Also attached log file.

 

06.05.2016 18:31:28.882 *INFO* [0:0:0:0:0:0:0:1 [1462539688789] POST /libs/commerce/products HTTP/1.1] com.adobe.cq.commerce.hybris.importer.DefaultHybrisImporter A /etc/commerce/products/outdoors/outdoors/en

06.05.2016 18:31:28.888 *ERROR* [0:0:0:0:0:0:0:1 [1462539688789] POST /libs/commerce/products HTTP/1.1] com.adobe.cq.commerce.hybris.impl.OAuthHandler Server did not respond with 2xx -> authentication failed.
06.05.2016 18:31:28.894 *ERROR* [0:0:0:0:0:0:0:1 [1462539688789] POST /libs/commerce/products HTTP/1.1] com.adobe.cq.commerce.hybris.impl.OAuthHandler Server responded with 403 -> authentication failed.
06.05.2016 18:31:28.895 *ERROR* [0:0:0:0:0:0:0:1 [1462539688789] POST /libs/commerce/products HTTP/1.1] com.adobe.cq.commerce.hybris.importer.DefaultHybrisImporter Importing catalog "outdoors" from Hybris failed: 
java.lang.NullPointerException: null
    at com.adobe.cq.commerce.hybris.impl.OAuthHandler.authenticateSession(OAuthHandler.java:208)
    at com.adobe.cq.commerce.hybris.impl.OAuthHandler.executeAuthenticated(OAuthHandler.java:457)
    at com.adobe.cq.commerce.hybris.common.DefaultHybrisConnection.execute(DefaultHybrisConnection.java:167)
    at com.adobe.cq.commerce.hybris.importer.DefaultHybrisImporter.importProducts(DefaultHybrisImporter.java:403)
    at com.adobe.cq.commerce.hybris.importer.DefaultHybrisImporter.importCatalog(DefaultHybrisImporter.java:197)
    at com.adobe.cq.commerce.hybris.importer.DefaultHybrisImporter.doImport(DefaultHybrisImporter.java:236)
    at com.adobe.cq.commerce.pim.common.AbstractImporter.run(AbstractImporter.java:167)

1 Reply

Avatar

Level 10

If the AEM documentation did not work that you followed - please open a ticket here:

https://helpx.adobe.com/marketing-cloud/contact-support.html

There is a bug and the ticket will be reported to Support so the issue can be fixed.