API - Permission Denied

Having problems with the panel? Have questions? Post here!
Post Reply
canuckbrian
Posts: 18
Joined: Sun Mar 26, 2017 12:56 am
Location: Vancouver, BC

API - Permission Denied

Post by canuckbrian »

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.
KillerServers.io
Killer Servers, Killer Pricing
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: API - Permission Denied

Post by Masher »

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!
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: API - Permission Denied

Post by Masher »

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
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!
Post Reply