-
-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filestation.FileStation() - "Error 402 - Denied permission" on version 0.7.x #159
Comments
Soon there will be a new release that might fix some login issue. We are looking for more reports that upload functions are working. Could you try to use the updated github version 7.1.1 and see if issue persist? |
I've tried with the latest commit from |
It is a strange error because i do not have any issue logging in. I see the execution script ur using .logout are u trying to login right? |
Could you try to split the script assigning the login to a var than do what you need to do?
|
I used this syntax because this part of my script is merely a test to check if the given credentials are correct. I tried again this time assigning Filestation to a variable but the issue persists (still on commit 9ada8fc). |
That is strange. The only thing comes in my mind you can try to change is to change 'enable_syno_token' in auth to 'no' and see what happens. This is the only change made to the api lately.
Could you try this? |
The latest lib version works for me. client info
dsm info
|
it seems like an isolated case, have you checked your DSM config? i know was working before but people testing did not find same or other issues, i will keep looking at comments but i will close the issue |
Describe the bug
I have a Python script that uses
filestation.FileStation()
to connect to a Synology NAS using a password and an OTP code, and with thesecure
flag set to True.After updating synology-api from version
0.6.3
to0.7.1
, the script now fails to log in with the following error :To Reproduce
Steps to reproduce the behavior:
Expected behavior
Executing the script with synology-api==0.7.1 should not raise any error
Screenshots
N/A
Desktop (please complete the following information):
Microsoft Windows 11 Professionnal 10.0.22631 N/A build 22631
Python 3.11.8
Additional context
N/A
The text was updated successfully, but these errors were encountered: