When you're using Magento 2 with Shiptheory, and you get the below error message when shipping:


Unable to download Shipment XXXXX from Magento. Consumer is not authorized to access %resources.


This error's cause changes depending on the version of Magento 2 you are using so and one of the below solutions could work, depending on your version.

This could mean any of the following:


  • The API key you're using on your Magento 2 store is not the same as the API key we've provided on your Shiptheory account. Please make sure to simply copy and paste it.


  • If the API key is correct, then it could mean that the Magento 2 account user that we connect to when the Magento 2 extension was installed was either altered or deleted. 


  • The Shiptheory user in your Magneto 2 store does not have a high enough permissions level. Try moving it to admin level and then retry the failed shipment in Shiptheory.


  • There could be an issue within your .htaccess file in your Magento store. The best person to check this with would be your Magento developer.


Before you contact your developer to get help with this issue, we recommend that you contact Shiptheory Support first so we can provide you with the exact details of the issue together with a test script which you can forward your developers so they can easily fix it.


If you get stuck, feel free to contact us for further assistance.