- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2024
04:46 AM
02-17-2024
04:46 AM
Hi,
I´m starting to get desperate. I´m trying to access orders (/rest/V1/orders/1) through Postman but I get following as response:
"message": "The consumer isn't authorized to access %resources.",
"parameters": {
"resources": "Magento_Sales::actions_view"
}
If I´m trying for example to get all the categories or something else it works. So i´ts only the orders endpoint that doesn´t work.
I use an admin user and the user role has access to everything. I just don´t get why it doesn´t work.
Does anyone have a clue?
Solved! Go to Solution.
Labels:
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2024
11:48 PM
02-18-2024
11:48 PM
I´ve solved it by adding json_decode to the token variable.
Not sure why this only happend with the Orders endpoint but anyhow it works
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2024
11:48 PM