Closed nitko12 closed 2 years ago
Hi,
Could you post the entire authentication code?
Whole of it is in the picture
from synology_api import filestation, downloadstation
fl = filestation("192.168.5.100", "5000", "<user>", "<password>")
Second line produces the error somewhere in the module, if I'm not mistaking, here: https://github.com/N4S4/synology-api/blob/3893dde89679a181c479c744bdea19da809cb594/synology_api/auth.py#L37
change dsm_version 2 -> '3'
Since the last version you need to specify dsm version otherwise DSM 6 will be as default, in the readme file there are instructions,
fl = filestation.FileStation('Synology Ip', 'Synology Port', 'Username', 'Password', secure=True, cert_verify=True, dsm_version=7)
Try like this and let me know please
Issue close due to inactivity
Hi,
I'm using your module in a project, and after update to DSM 7 it throws and error on login
Am I doing something wrong?
On closer inspection it seems the drive returns code 103 somewhere in authentification process.