I have a .Net application that compiles an inventory of all HTTP Transaction sensors (something like 120 sensors) with a specific tag and updates the HTML transactions with updated values, utilizing PRTG's API:
/api/setobjectproperty.htm?id=<id>&name=httpurl3&value=<urlValue>&username=<username>&password=<password>
(This query is iterated over multiple transactions, so it goes from httpurl1 to httpurl10 if applicable)
The application maintains a connection with PRTG for about 30 minutes with no issues, and then throws an error with response
<?xml version="1.0" encoding="UTF-8" ?><prtg><version>16.1.21.1924</version><error>Sorry, your user account is not allowed to access this information.</error></prtg>
So the end result is that the application is able to complete the query correctly for multiple sensors with multiple transactions and then stopping the update for the rest. The error doesn't seem to reside with a specific sensor and all sensors within the group have the same access rights/configurations as they're all derived from a single sensor.
The user used for the application has administrator access rights. Is there a different angle I should be looking at to resolve this issue?
EDIT BY MOD: Formatting!
Add comment