Closed sminker81 closed 2 years ago
@sminker81 can you post the whole response HTTP payload, headers & body? Please make sure to remove any sensitive credentials, access tokens, etc.
Also, what version of the UniFi Controller are you running?
I got this working. I just recompiled with GO and made another config file with fresh files. It doesnt find anything though. Latest firmware in the controller. I think its something on my end. I used a python file also that completes successfully but doesnt find anything to delete either.
Are there any phantom clients in your controller? If there's any traffic at all on a client, this script won't remove it, and it also won't remove a client if it has any custom name.
Closing due to inactivity
After running ./unifi i get the following error.
Error decoding UniFi login response: invalid character 'B' looking for beginning of value