cancel
Showing results for 
Search instead for 
Did you mean: 

Integration to Magento failing despite API access granted

Integration to Magento failing despite API access granted

Good day Community,


We are having trouble with one of our integrations to Magento ever since our upgrade to 2.4.6. The integration was working perfectly before the upgrade.

 

Despite the integration being authorised and activated on Magento, with the integration account being granted to all Sales resources by the front end, Magento is still throwing errors back to the API.

 

The API’s error report is - “Magento response: The consumer isn't authorized to access %resources.
Array
(
[resources] => Magento_Sales::actions_view
)"”
 
Any help would be greatly appreciated.

1 REPLY 1

Re: Integration to Magento failing despite API access granted

You may have to allow the Access token to be used as a bearer token.

 

bin/magento config:set oauth/consumer/enable_integration_as_bearer 1