i get this error: Warning: You do not have permission to access the API!
i have make clean install of Version 2.2.0.0.
i make a new api user, in setting i have choice this api i have created, in user group i have set permission and mark all in V.
and i do not find any answer for this problem, please help
Are you added API to User > API ( this need also after upgrade from 2.0.x)?ismystore wrote:when i press on order --> view --> Add Order History
i get this error: Warning: You do not have permission to access the API!
i have make clean install of Version 2.2.0.0.
i make a new api user, in setting i have choice this api i have created, in user group i have set permission and mark all in V.
and i do not find any answer for this problem, please help
I have a similar issue when I login in Admin and my IP number has changed. I, like you, have setup the API username in the setting, but if your server doesn't use static IP number, you will have to click add to API every time your IP number does change...ismystore wrote:as i say "i have choice this api i have created"
yes i have created and apply it in the setting
Over 95% of all computer problems can be traced back to the interface between the keyboard and the chair...
I have added my ip to api.
And in the api in session i see that is created session with my ip
So its using the api but dont give access to add order history
I follow all guide in the enternet nuthing help
Please if you have any suggestions i will like to try
And find a solution.
Then follow by the green message "Success: You have modified APIs!" ?
Over 95% of all computer problems can be traced back to the interface between the keyboard and the chair...
ygalbramiBurt65 wrote:This is not clear.. Can you click on Add IP red button with the + in the top right, when you get the message?
Then follow by the green message "Success: You have modified APIs!" ?
I already press the red button and i dont see it again after i have press it.
Have searched and not seeing a solution

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
After applying these fixes, try to see if the IP address can either be added or edited. Aftwerwards, do you notice the same message regarding not having permissions via the API?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
My ip address is in the api no problem. It is just that it will not let me update the order status. I can edit the status for an order I manually added to 2.2 via admin, but none of the others - the ones that were imported from 1.5.6.4 and new ones that customers placed directly in 2.2 I get the "you do not have permission...." api error when I try to update the status adn click save.
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
While you may not understand my above reply, I also included the possible fix link along with it ...labeshops wrote:Sorry but I do not understand your reply. Is there a way to fix this?
My ip address is in the api no problem. It is just that it will not let me update the order status. I can upload the status for an order I manually added to 2.2, but none of the others - the ones that were imported from 1.5.6.4 and new ones that customers placed directly in 2.2
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Which I also did not understand.straightlight wrote:While you may not understand my above reply, I also included the possible fix link along with it ...labeshops wrote:Sorry but I do not understand your reply. Is there a way to fix this?
My ip address is in the api no problem. It is just that it will not let me update the order status. I can upload the status for an order I manually added to 2.2, but none of the others - the ones that were imported from 1.5.6.4 and new ones that customers placed directly in 2.2
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Anyone know how to solve it?
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
By providing more details on what happened after the fix above was implemented.labeshops wrote:Really, really need to figure this out as its getting very confusing as to which orders I've shipped and which I haven't. Tried adding the lines in straightlights other post - it didn't fix it.
Anyone know how to solve it?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
my ip is shown correctly in the database. every other check that uses the api works fine - I can add new orders, edit orders, etc. I can do anything and everything EXCEPT change the order status and update the order history. That's the only time I get " Warning: You do not have permission to access the API! "straightlight wrote:Try this new solution, it has been published momentarily: http://forum.opencart.com/viewtopic.php ... 20#p613358
Seems to me the problem is somewhere in the api check for order history, but I don't know anything about how ajax works to know how to fix it.
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Do you use openbay by changing the order status?labeshops wrote:my ip is shown correctly in the database. every other check that uses the api works fine - I can add new orders, edit orders, etc. I can do anything and everything EXCEPT change the order status and update the order history. That's the only time I get " Warning: You do not have permission to access the API! "straightlight wrote:Try this new solution, it has been published momentarily: http://forum.opencart.com/viewtopic.php ... 20#p613358
Seems to me the problem is somewhere in the api check for order history, but I don't know anything about how ajax works to know how to fix it.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 3 guests