Hi
I have a Magento 2 site and use a 3rd party to control my stock etc.
They do this by API REST. However, they are unable to gain aceess as get the response 'Access Denied'
They said that the User Roles aren't working correctly.
I am not a coder, I am just the owner of the company trying to sort this out.
Can anybody help me please?? (Laymans terms please)
Thank you
Joanne
Hi @JoanneM68
Yes if its user access issue then i would say logged in to Magento admin panel then go to system then user permissions and check that specific user have access of inventory and stock or not ?
if not please give the access to that module or may be you can give full access to that user.
Then check - it will works !
Hope it helps !
Hi
Thank you so much for answering.
The roles given to it are 'administrator' thats the only one there.
How do I specifiaclly give access to inventory & stock?
Sorry for being so dim
Jo
;-)
Hi @JoanneM68
if you want to give specific access to that user then i would say go to system -> user roles -> add new role over there -> then from the role resource -> select resource access as custom -> below check catalog, inventory, products, categories checkboxes.
then check it will works.
Also as mentioned by you that it have administrator role - so there might be a chance there API accesstoken gets expired - so ask them to generate the accessToken again and then use that token to call the same API.
It will helps !
Hi
Okay, when I set up a new Role, it saves fine, however when I go back in, it is blank...
Any ideas?
Thank you
Joanne
Hi @JoanneM68
Blank it means the changes you made its gone ? not showing any more ?
then you might have any confliction occurs - check the error logs is there anything there in var/log directory and post the same over here so its help us to troubleshoot the issue
also if possible please screenshot as well.
Hope it helps !
Any of these??
ftp://yAB7r8WT@carblife.nh-serv.co.uk/var/log/sagepay
ftp://yAB7r8WT@carblife.nh-serv.co.uk/var/log/connector.log
ftp://yAB7r8WT@carblife.nh-serv.co.uk/var/log/debug.log
ftp://yAB7r8WT@carblife.nh-serv.co.uk/var/log/exception.log
ftp://yAB7r8WT@carblife.nh-serv.co.uk/var/log/install.log
ftp://yAB7r8WT@carblife.nh-serv.co.uk/var/log/magento.cron.log
ftp://yAB7r8WT@carblife.nh-serv.co.uk/var/log/setup.cron.log
ftp://yAB7r8WT@carblife.nh-serv.co.uk/var/log/system.log
ftp://yAB7r8WT@carblife.nh-serv.co.uk/var/log/system.log.off
ftp://yAB7r8WT@carblife.nh-serv.co.uk/var/log/update.cron.log
ftp://yAB7r8WT@carblife.nh-serv.co.uk/var/log/update.log