From c43c824f15413ac3c1071baedfda407dea68c52d Mon Sep 17 00:00:00 2001 From: Marcelo Castagna Date: Sun, 27 Feb 2022 06:37:38 -0300 Subject: [PATCH] Update Synology error codes (cherry picked from commit a8cb7784f2a6f833bda9e24ca2146701df8da75c) --- .../Responses/DiskStationError.cs | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/NzbDrone.Core/Download/Clients/DownloadStation/Responses/DiskStationError.cs b/src/NzbDrone.Core/Download/Clients/DownloadStation/Responses/DiskStationError.cs index 61d8e321a..48b601b01 100644 --- a/src/NzbDrone.Core/Download/Clients/DownloadStation/Responses/DiskStationError.cs +++ b/src/NzbDrone.Core/Download/Clients/DownloadStation/Responses/DiskStationError.cs @@ -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 { { 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