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 » Fri Apr 28, 2017 12:03 pm

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: 3177
Joined: Thu Apr 20, 2006 2:54 pm
Location: Ohio
Contact:

Re: API - Permission Denied

Post by Masher » Sat Apr 29, 2017 1:28 am

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 and 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.

Need an affordable web control panel? Try UGCC.

Masher
Site Admin
Posts: 3177
Joined: Thu Apr 20, 2006 2:54 pm
Location: Ohio
Contact:

Re: API - Permission Denied

Post by Masher » Sat May 13, 2017 2:31 pm

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 and 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.

Need an affordable web control panel? Try UGCC.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests