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.
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.
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!