cancel
Showing results for 
Search instead for 
Did you mean: 

REST API “Permission Denied” Error When Accessing /aps Endpoint on Ruckus Controller

Sayedtaban
New Contributor

 

I’ve been working on retrieving information from a Ruckus controller using the REST API on my VPS.

Here’s what I did:

  1. I selected the username that belongs to the super-admin group.

  2. I successfully obtained the login cookies using this username and password (I confirmed I can log in via the controller web UI).

  3. Using these cookies, I can successfully access the /domains endpoint.

    However, when I try to access the /aps endpoint, I receive the following error:

    {"message":"Permission denied (Access is denied)","errorCode":211,"errorType":"Lack of admin privilege"}
    Even though I’m using a super-admin account, the controller still reports that I lack admin privileges.

    Does anyone know why this happens and how to resolve it?

    Screenshot_6.png

    Screenshot_4.pngScreenshot_3.pngScreenshot_2.png
1 ACCEPTED SOLUTION

ms264556
Contributor III

Since you got no feedback from Ruckus employees here...

I'm guessing that maybe your group isn't permissioned to the very top-level System domain?

My experience has been that /aps doesn't work unless your group permissions are on the top-level System domain.

I use /query/ap instead. In addition to working for non-System-admins, it returns much more comprehensive AP info.

View solution in original post

2 REPLIES 2

ms264556
Contributor III

Since you got no feedback from Ruckus employees here...

I'm guessing that maybe your group isn't permissioned to the very top-level System domain?

My experience has been that /aps doesn't work unless your group permissions are on the top-level System domain.

I use /query/ap instead. In addition to working for non-System-admins, it returns much more comprehensive AP info.

Thank you — your suggestion was excellent. Could you assist me with one item: please provide the API endpoint(s) (or relevant documentation links) to obtain venue data, 802.11 cause codes for disconnected access points, and client data.