Hello, I have been using Duplicati for some time using the Microsoft OneDrive v2
storage type without issue. However, lately my backup has started failing due to what seems OneDrive claiming that Duplicati is making too many requests - see error at the bottom of this post.
Assuming that nothing has changed on the Duplicati, I suspect that Microsoft have introduced some rate limiting.
Is the throttle-upload
the best setting to use to try and fix this? I don’t seem to have the information necessary to choose the correct value and OneDrive is complaining about the number of requests rather than the upload rate. Currently it looks like in average I am performing the backup at 82475 KB/s so I guess I can start throttling below this value.
Has anyone else experienced this and how did you fix this?
Thanks!
Duplicati - 2.0.6.3_beta_2021-06-17
TooManyRequests: error from request https: //graph.microsoft.com/v1.0/me/drive/root:/Backup/Tower:/children?$skiptoken=<snip>
Method: GET, RequestUri: 'https: //graph.microsoft.com/v1.0/me/drive/root:/Backup/Tower:/children?$skiptoken=<snip>', Version: 2.0,
Content: <null>, Headers: {
User-Agent: Duplicati/2.0.6.3 Authorization: Bearer ABC...XYZ
}
StatusCode: 429, ReasonPhrase: '',
Version: 1.1,
Content: System.Net.Http.StreamContent, Headers: {
Cache-Control: private Transfer-Encoding: chunked Retry-After: 55 Strict-Transport-Security: max-age=31536000 request-id: <snip> client-request-id: <snip> x-ms-ags-diagnostic: {
"ServerInfo": {
"DataCenter": "UK South",
"Slice": "E",
"Ring": "3",
"ScaleUnit": "000",
"RoleInstance": "LN2PEPF000095A2"
}
} Date: Wed,
28 Sep 2022 07: 52: 33 GMT Content-Type: application/json
} {
"error": {
"code": "activityLimitReached",
"message": "The request has been throttled",
"innerError": {
"code": "throttledRequest",
"innerError": {
"code": "quota"
},
"date": "2022-09-28T07:52:33",
"request-id": "<snip>",
"client-request-id": "<snip>"
}
}
}