I Get “The Consumer Isn’t Authorized to Access %resources” Error in Magento 2 – How to Fix It?

I Get “The Consumer Isn't Authorized to Access %resources” Error in Magento 2 How to Fix It?

If you’re seeing the error:

“The consumer isn’t authorized to access %resources”

while configuring the Magento 2 connector in Odoo, this typically means that created integration in Magento 2 doesn’t have sufficient API permissions.

Cause of the Error

This error usually occurs when the Magento 2 Integration (created under System → Extensions → Integrations) was not granted access to all required API endpoints.

The VentorTech’s Odoo Magento 2 connector uses a wide range of API routes to synchronize products, customers, orders, stock levels, and more — so incomplete access results in this authorization error.

How to Fix It

The simplest and most reliable solution is to grant full API access to the integration user:

  1. Go to Magento Admin → System → Extensions → Integrations

  2. Edit the integration you’re using for the Odoo connector

  3. In the API tab set Resource Access field to All:

image-20250625-122027.png
  1. Save and reauthorize the integration

After this, try to test the connection again from the Odoo side.

Still Having Issues?

If granting full access doesn’t resolve the problem, or if you require a more restricted (customized) access configuration, feel free to contact our team.

👉 Get support at support.ventor.tech

We’ll help you review your API setup and ensure smooth communication between Odoo and Magento 2.

Related Posts