Closed tik9 closed 1 year ago
That is not an issue – it means that you try to do something without the propper permissions. These kind of errors are raised from the router and fritzconnection just forwards this to the user. In this case you have to specify a correct user/password combination.
I get a 401 Error with:
fc = FritzConnection(address=ip,password=boxpw, user='fritz3220');fc.call_action('WANIPConnection', 'GetInfo')
The error:fritzconnection.core.exceptions.FritzConnectionException: Unable to perform operation. 401 Unauthorized
. Callingfc()
without user, password and address results inFRITZ!Box 6591 Cable (kdg) at http://192.168.178.1 FRITZ!OS: 7.29