AEM- Adobe Commerce integration - Magento request headers missing in Graphql calls | Community
Skip to main content
Level 5
September 11, 2024
Solved

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

  • September 11, 2024
  • 1 reply
  • 748 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SrikanthPo3

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.

1 reply

arunpatidar
Community Advisor
Community Advisor
September 11, 2024

Hi @srikanthpo3 
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
Level 5
September 13, 2024

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.

SrikanthPo3AuthorAccepted solution
Level 5
September 18, 2024

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.