- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2018
12:42 AM
10-19-2018
12:42 AM
[version 2.2.5 ] Consumer is not authorized to access %resources
Looks like my Magento 2 API in Cpanel (Shared) is not working.
I can access the public API's and get token (i.e /rest/V1/integration/admin/token ).
However, when I am try to use the token for /rest/V1/customers/1 it always failed.
{ "message": "Consumer is not authorized to access %resources", "parameters": { "resources": "Magento_Customer::customer" } }
My setup works in my local and even in my free tier AWS instance. I have the same setup and I almost tried everything (reinstalling, new install, check php, check apache, check magento config).
TIA!
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2019
11:55 PM
07-25-2019
11:55 PM
Re: [version 2.2.5 ] Consumer is not authorized to access %resources
Hi,
I am having the same issue on a new Cpanel instance. It was working on the old one. Were you able to fix this?
TIA
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2019
08:13 AM
07-26-2019
08:13 AM
Re: [version 2.2.5 ] Consumer is not authorized to access %resources
Hi ~ Yes.
I fixed the problem by enabling the apache mod_rewrite and following the correct file ownership & permission.
Make sure to restart the apache and clear the magento cache folder.
I fixed the problem by enabling the apache mod_rewrite and following the correct file ownership & permission.
Make sure to restart the apache and clear the magento cache folder.