I'm playing around with the API and I'm having issues.
"status" & "running" both return "Error: Permission Denied", but using the same credentials I can issue "listservers", "listusers", and "alive" commands and get a valid response.
Seems like any API command that uses an ID fails with "Error: Permission Denied".
I have tried with uget, and I have tried with Postman (https://www.getpostman.com/) and neither work.
API - Permission Denied
-
- Posts: 18
- Joined: Sun Mar 26, 2017 12:56 am
- Location: Vancouver, BC
-
- Site Admin
- Posts: 3614
- Joined: Thu Apr 20, 2006 2:54 pm
- Location: America's Heartland
- Contact:
Re: API - Permission Denied
Yes, there was an issue with those commands, and it has been fixed and will be available in the next update. I forgot to check for the admin flag for the specified API user.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-
- Site Admin
- Posts: 3614
- Joined: Thu Apr 20, 2006 2:54 pm
- Location: America's Heartland
- Contact:
Re: API - Permission Denied
I was going to wait until a feature I'm working on was finished; but it's more involved than I had expected.
Here's a hotfix. place the files in the archive in your panel's /bin folder.
http://redirect.brainless.us/ugcc/1.901/bin.zip
Here's a hotfix. place the files in the archive in your panel's /bin folder.
http://redirect.brainless.us/ugcc/1.901/bin.zip
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!