- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2023
06:14 AM
09-16-2023
06:14 AM
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.
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2023
08:18 AM
09-24-2023
08:18 AM
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