Closed seansfkelley closed 3 years ago
repro:
The error message generated will be "File upload failed.", which is code 400 from the DownloadStation.Task error namespace.
The actual error should be about the invalid password, which is code 400 from the Auth namespace.
This is because SynologyClient obscures the need to log in, but forwards error messages from authentication failures through non-authentication calls.
SynologyClient
Possible fixes:
<foo>.API_NAME
repro:
The error message generated will be "File upload failed.", which is code 400 from the DownloadStation.Task error namespace.
The actual error should be about the invalid password, which is code 400 from the Auth namespace.
This is because
SynologyClient
obscures the need to log in, but forwards error messages from authentication failures through non-authentication calls.Possible fixes:
<foo>.API_NAME
and the API name is included in the error object