cancel
Showing results for 
Search instead for 
Did you mean: 

Bearer Token Works in Postman but Fails in Power Automate for Magento API

Bearer Token Works in Postman but Fails in Power Automate for Magento API

Hello everyone,

I'm encountering an issue when trying to connect to the Magento API using a bearer token in Power Automate. The token works perfectly in Postman, but I receive the following error when using the same token in Power Automate:

{
"message": "The consumer isn't authorized to access %resources.",
"parameters": {
"resources": "Magento_Sales::actions_view"
}
}

Here are the steps I've taken so far:

  1. Verified that the bearer token is the same in both Postman and Power Automate.
  2. Checked the API permissions and ensured that the token has the necessary rights.

 

Despite these checks, the issue persists. Could anyone provide insights into why this might be happening and how I can resolve it? Any help with configuring the API in Power Automate correctly or troubleshooting the bearer token authorization issue would be greatly appreciated.