Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM Hybris Integration

Avatar

Level 1

Hi,

Am doing the integration of AEM & Hybris. I've followed the steps provided to import outdoors data from hybris as given in the adobe docs.

It works fine via defaul hybris importer UI console. 

Issue:

When i try to import products via REST api call through a code in AEM for products we configured, it has thrown access denied. 

Even the direct access from browser https://localhost:9002/rest/v1/outdoors/products/export/full throws access denied error. I got the access tocken via password grant & configured in browser authorization header as well. 

I think the default hybris connection pass username & password & get the token, does the same authorization via OAuthHandler class.

Would like to understand how the http://localhost:4502/etc/importers/hybris.html able to import products as it's using the same DefaultHybrisConnection & OauthHandler class.

Also, what needs to be done to resolve this Access denied issue for password grant.

Thanks

Mani

1 Accepted Solution

Avatar

Correct answer by
Level 10

File a support ticket. 

View solution in original post

3 Replies

Avatar

Level 10

This is hybrid side issue. Which version of , aem version, hybris server & package you are using.

Avatar

Level 1

AEM 6.0, Hybris 5.3.0, cq-commerce-hybris-impl-5.7.2

Avatar

Correct answer by
Level 10

File a support ticket.