We are running a Magento 2.4.4 ecommerce store and trying to integrate with the Fedex Rest API. I have applied the Magento patch from here.
I've followed the instructions from Fedex here to setup the integration in the Magento admin panel - System > Integrations. Callback and Identity links are both https://magicplus-magicplus.apps.az.fxei.fedex.com/ecommerce/stores/magento/auth
I've also entered our credentials for Fedex API in the Configuration > Stores > Delivery Methods > Fedex.
When I try to activate the integration from Magento I get the below error:
Invalid Request - "Bad request - STORE_URL_NOT_PRESENT"
Can anyone help problem solve this? I have not been able to find any ideas online.
It sounds like the “Bad request – STORE_URL_NOT_PRESENT” error happens because Magento isn’t sending your store’s URL correctly to FedEx during the integration setup. Usually, this means your base URL isn’t configured properly or the callback URL doesn’t match what FedEx expects. make sure your base URL in magento’s web settings is your actual domain, not localhost or blank, and double-check the callback URL in the integrations section. If you have multiple store views, try connecting with the default one first. Sometimes reapplying the FedEx rest api patch fixes it too, especially if you used an older version. If the error persists, check your exception.log file to see what data magento is sending — that usually points to the missing field.
Thanks for your comments. I'm testing this on my development site. It is on the same server but domain is https://test.usualdomain.com instead of https://usualdomain.com. Could this be causing the issue?
We do have a multi store setup, how is it possible to only run the integration for one of the store views/default store first?
I have tried reapplying the patch but that didn't help.
I can't see any errors in our exception log.