Skip to content
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

error code not match with api document #118

Closed
shenjackyuanjie opened this issue Mar 11, 2023 · 2 comments
Closed

error code not match with api document #118

shenjackyuanjie opened this issue Mar 11, 2023 · 2 comments

Comments

@shenjackyuanjie
Copy link
Contributor

shenjackyuanjie commented Mar 11, 2023

api document (file station)
https://cndl.synology.cn/download/Document/Software/DeveloperGuide/Package/FileStation/All/enu/Synology_File_Station_API_Guide.pdf

page 10~11

code Description
400 Invalid parameter of file operation
401 Unknown error of file operation
402 System is too busy
403 Invalid user does this file operation
404 Invalid group does this file operation
405 Invalid user and group does this file operation
406 Can't get user/group information from the account server
407 Operation not permitted
408 No such file or directory
409 Non-supported file system
410 Failed to connect internet-based file system (e.g., CIFS)
411 Read-only file system
412 Filename too long in the non-encrypted file system
413 Filename too long in the encrypted file system
414 File already exists
415 Disk quota exceeded
416 No space left on device
417 Input/output error
418 Illegal name or path
419 Illegal file name
420 Illegal file name on FAT file system
421 Device or resource busy
599 No such task of the file operation

error code in code

400: 'No such account or incorrect password',
401: 'Disabled account',
402: 'Denied permission',
403: '2 - factor authentication code required',
404: 'Failed to authenticate 2 - factor authentication code',
406: 'Enforce to authenticate with 2 - factor authentication code',
407: 'Blocked IP source',
408: 'Expired password cannot change',
409: 'Expired password',
410: 'Password must be changed',

@shenjackyuanjie
Copy link
Contributor Author

#119
I add the file station error code here
maybe use them to parse file station status code?

@N4S4
Copy link
Owner

N4S4 commented Mar 13, 2023

#119 fixed this issue

tnx

@N4S4 N4S4 closed this as completed Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants