{"record":{"id":"7913b497eb626f9c","repo":"duplicati/duplicati","slug":"dropbox-api-error","errorCode":null,"errorMessage":"Dropbox API error","messagePattern":"Dropbox API error","errorType":"exception","errorClass":"DropboxException","httpStatus":null,"severity":"error","filePath":"Duplicati/Library/Backend/Dropbox/DropboxHelper.cs","lineNumber":275,"sourceCode":"                            Strings.Dropbox.OverQuotaError(string.IsNullOrWhiteSpace(json) ? ex.Message : json),\r\n                            \"DropboxOverQuotaError\",\r\n                            ex);\r\n                }\r\n            }\r\n\r\n            JsonNode? errJson = null;\r\n            try\r\n            {\r\n                if (!string.IsNullOrWhiteSpace(json))\r\n                    errJson = JsonNode.Parse(json);\r\n            }\r\n            catch\r\n            {\r\n                // Parsing failed\r\n            }\r\n\r\n            if (errJson != null)\r\n                throw new DropboxException(ex) { errorJSON = errJson };\r\n            else if (response != null)\r\n                throw new InvalidDataException($\"Non-json response (code: {(int)response.StatusCode}, message: {response.ReasonPhrase}): {json}\", ex);\r\n            else\r\n                throw new InvalidDataException($\"Non-json response: {json}\", ex);\r\n        }\r\n    }\r\n\r\n    public class DropboxException : Exception\r\n    {\r\n        public DropboxException(Exception innerException)\r\n            : base(\"Dropbox API error\", innerException)\r\n        {\r\n        }\r\n        public JsonNode? errorJSON { get; set; }\r\n    }\r\n\r\n    public class PathArg\r\n    {\r","sourceCodeStart":257,"sourceCodeEnd":293,"githubUrl":"https://github.com/duplicati/duplicati/blob/3f348be3e33f5d72d414e3ad55839c2ba34dda67/Duplicati/Library/Backend/Dropbox/DropboxHelper.cs#L257-L293","documentation":"Error \"Dropbox API error\" thrown in duplicati/duplicati.","triggerScenarios":"Thrown at Duplicati/Library/Backend/Dropbox/DropboxHelper.cs:275 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the inner Dropbox error details in the log for the specific API error code.","Verify the AuthID and account permissions.","Retry the operation; consult Dropbox API documentation for the reported error."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"3f348be3e33f5d72d414e3ad55839c2ba34dda67","analyzedAt":"2026-08-13T16:48:27.008Z","schemaVersion":2},"datasetVersion":"2026-08-13T19:17:28.613Z"}