Hey, I create a simple script that queries floors maps and APs positions from Cisco Prime.
In some Cisco Prime Servers, after calling to
I am using "Internal API."
First of all, I am calling to
https://{host}:{port}/webacs/maps/domains?type=4&pageSize=9999
To get all floors from the server with the floor ids and the floor image URL.
Then I am calling to
https://{host}:{port}/webacs/maps/domains/{floor_id}/aps?detailedView=true&pageSize=9999
To get all access points positions inside each floor.
And then, I am downloading the floors images from the first API
---
There are servers that this work for them, but there are other servers that, after calling to few APIs, I am getting PermissionError.
Also, when I open the WebUI in these servers, I can see a message.
"You have exceeded the number of active sessions allowed for this user. Log out of one active session, or wait for up to 30 minutes and log in again."
But I am not opening new sessions; I am using only one session.
----
If I am trying to use only Internal API, for example, get_version API, I can call it 100 times, but only internal API gets this permission error.
Maybe someone knows how to handle it?