Update Synology error codes

This commit is contained in:
Marcelo Castagna 2022-02-27 06:37:38 -03:00 committed by GitHub
parent f1d07f74ee
commit a8cb7784f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 5 deletions

View File

@ -20,16 +20,22 @@ namespace NzbDrone.Core.Download.Clients.DownloadStation.Responses
{ 104, "The requested version does not support the functionality" },
{ 105, "The logged in session does not have permission" },
{ 106, "Session timeout" },
{ 107, "Session interrupted by duplicate login" }
{ 107, "Session interrupted by duplicate login" },
{ 119, "SID not found" }
};
AuthMessages = new Dictionary<int, string>
{
{ 400, "No such account or incorrect password" },
{ 401, "Account disabled" },
{ 402, "Permission denied" },
{ 403, "2-step verification code required" },
{ 404, "Failed to authenticate 2-step verification code" }
{ 401, "Disabled account" },
{ 402, "Denied permission" },
{ 403, "2-step authentication code required" },
{ 404, "Failed to authenticate 2-step 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" }
};
DownloadStationTaskMessages = new Dictionary<int, string>