cancel
Showing results for 
Search instead for 
Did you mean: 

Magento request headers missing on AEM publish server

Magento request headers missing on AEM publish server

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.

3 REPLIES 3

Re: Magento request headers missing on AEM publish server

When integrating Magento with Adobe Experience Manager (AEM), missing request headers on the AEM publish server can cause issues, especially with communication between the systems. This typically happens when headers, such as authentication tokens or custom headers, are not properly passed from AEM to Magento. Possible causes include misconfigurations in AEM dispatcher rules Click here, which may strip out important headers, or security settings on the web server that block certain headers.

Re: Magento request headers missing on AEM publish server

When facing the issue of missing Magento request headers on an AEM publish server, it's essential to ensure that the headers are properly configured and passed through the dispatcher. First, verify that the dispatcher is not filtering out any necessary Magento request headers by updating the dispatcher.any configuration file. Specifically, in the /clientheaders section, add any missing headers Magento might require. You may also need to adjust the caching rules or server behavior to preserve these headers during the communication between AEM and Magento customized drayage solutions LA. Keep up the great troubleshooting work—you’re on the right track!

 

Re: Magento request headers missing on AEM publish server

Add required headers in AEM's Sling Main Servlet, include them in the API call, and ensure CORS in Adobe Commerce env.php allows the headers. When choosing the right attic insulation, make sure to also whitelist the AEM publish instance IP.