Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

AEM- Adobe Commerce integration - Magento request headers missing in Graphql calls

Avatar

Level 5

Hi Team,
We have Adobe Commerce integration from Adobe Experience Manager servers where in one of the AEM publish instance(with IP address) when connecting to Adobe Commerce Graphql APIs is giving 403 Forbidden error, in browser network call, magento request headers(magento-customer-group,magento-environment-id,magento-store-code,magento-store-view-code,magento-website-code) are not present. These headers were allowed in AEM dispatcher but how do we get it to work with direct AEM publish instance with IP address or without dispatcher.

Can anyone help us in this regards

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hi All,

Please ignore this question, suspecting there is an issue in connectivity between AEM instance and Adobe Commerce API mesh, no additional configuration is required at AEM publish instance level.

View solution in original post

3 Replies

Avatar

Community Advisor

Hi @srikanthpogula 
You may need to use Sling Filters to add the additional response headers.

https://sling.apache.org/documentation/the-sling-engine/filters.html 



Arun Patidar

Avatar

Level 5

Hi @arunpatidar 

Our website has a separate AEM publish instance (only for China) and this issue is occurring in that instance, while we do not see this issue in non-China AEM instances, and we did not configure sling filters on non-China AEM instances.

Avatar

Correct answer by
Level 5

Hi All,

Please ignore this question, suspecting there is an issue in connectivity between AEM instance and Adobe Commerce API mesh, no additional configuration is required at AEM publish instance level.