When using Boomi's Magento Connector and trying to import an operation, after choosing your object type (Products, Customers, Orders, or Invoice), the Import Operation throws an "Unable to browse connector: Error generating profile: 404 Not Found" error message.
When performing an Import Operation, Boomi's Magento Connector first uses the Magento connection to perform a token based authentication with the Magento environment using the following URL format:
In most cases, the "/rest/V1" path specifically is what the Magento environment is configured to use when calling upon REST based procedures, but is something to look into when we see the 404 errors.
After performing the token based authentication, our Connector then proceeds to retrieve data based on the Object Type selected in the Import Operation. However, this step uses a slightly different URL path:
In this case, we're specifically using a "/rest/default" path to pull back the data from the Magento site, which is slightly different than the "/rest/V1" path used in the token based authentication step.
Ultimately, when we see the 404 Not Found Error being thrown on an Import, it's typically failing due to it not being able to hit the "default" path.
Generally, when a Magento environment is created and configured, it's often only configured to include the "/rest/V1" path, but a "default" path may not be created or configured. This needs to be resolved on the Magento side by completing the following steps:
- Log onto your Magento Backend / Admin Panel.
- Navigate to Stores -> All Stores.
- Click on the Store View you'd like to modify.
- In the Code Field, change the value to "default".
This should allow the Magento store to use the /rest/default URL and resolve the 404 error being seen in the import operation.