If you’re seeing this error while configuring the Magento 2 connector in Odoo:
“The consumer isn’t authorized to access %resources”
It means your Magento 2 integration doesn’t have the required API permissions to access certain endpoints.
What Causes This Error?
This error occurs when the Magento 2 integration (created under System → Extensions → Integrations) is missing access to API endpoints the VentorTech Odoo connector needs.
The connector uses various Magento 2 API routes to:
Synchronize products and inventory
Import orders and customers
Update stock levels
Manage shipments and invoices
If any of these permissions are missing, the error appears.
How to Fix It
Quick Fix (Verify Full Access)
Go to Magento Admin → System → Extensions → Integrations
Click on the integration you’re using for the Odoo connector
Click the API tab
Verify that Resource Access is set to All
If not, change it to All and click Save
Test the connection again from Odoo
If the error persists, continue to the next section.
Recommended Approach (Limited Permissions)
While setting Resource Access to “All” resolves this error, we recommend using limited permissions for better security. This follows the principle of least privilege – granting only the access the connector actually needs.
To use limited permissions instead:
In the Resource Access field, select Custom (not “All”)
Check only the required permissions for the VentorTech connector
For a complete list of required permissions and detailed setup instructions, see: How Do I Secure My Magento 2 API Integration with Limited Permissions?
Using limited permissions provides the same functionality with better security. If you encounter 403 errors with limited permissions, it means you’re missing a specific permission—add it and re-test.
Still Having Issues?
If the error persists even after granting full access, or if you need help with limited permission setup, please contact our team at support@ventor.tech or through our support portal.
We’ll help you review your API configuration and ensure smooth communication between Odoo and Magento 2.