# OneDrive Throttling

**URL:** <https://forum.duplicati.com/t/onedrive-throttling/15051>\
**Category:** Support\
**Created:** [September 28, 2022, 9:01am UTC](https://forum.duplicati.com/t/onedrive-throttling/15051 "2022-09-28T09:01:31Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)\
**Post date:** [September 28, 2022, 11:52am UTC](https://forum.duplicati.com/t/onedrive-throttling/15051/3 "2022-09-28T11:52:44Z")

</div>

> [@pepperywasp](#):
>
> No, bandwidth throttling does not help here. I have throttled to 1KB/s and I get the same “too many requests” error.

It might be helpful to see timing details, for example with [log-file](https://duplicati.readthedocs.io/en/latest/06-advanced-options/#log-file)=\<path\> and [log-file-log-level](https://duplicati.readthedocs.io/en/latest/06-advanced-options/#log-file-log-level)=verbose.  
[Throttle Not Working](https://forum.duplicati.com/t/throttle-not-working/11742) was a big thread on this, where somebody was trying to get a steady upload rate.  
Although a code change was made at the end (more on that later), an early thought was to tune things.

[Microsoft OneDrive v2 (Microsoft Graph API)](https://duplicati.readthedocs.io/en/latest/05-storage-providers/#microsoft-onedrive-v2-microsoft-graph-api)

> - `--fragment-size (Integer)` Size of individual fragments which are uploaded separately for large files. It is recommended to be between `5-10 MiB` (though a smaller value may work better on a slower or less reliable connection), and to be a multiple of `320 KiB`. Default value: `10 MiB`

was mentioned by the developer, but there are also `--fragment-retry-delay` and `--fragment-retry-count` available. These are OneDrive-specific, and there are also file (not fragment) level generic options [number-of-retries](https://duplicati.readthedocs.io/en/latest/06-advanced-options/#number-of-retries) and [retry-delay](https://duplicati.readthedocs.io/en/latest/06-advanced-options/#retry-delay). Your message says `Retry-After: 55`. The code change I can see is mentioned [here](https://forum.duplicati.com/t/throttle-not-working/11742/17) in the thread, and discussion continues at PR [Try to fix OneDrive upload throttling #4469](https://github.com/duplicati/duplicati/pull/4469).

[2.0.6.100\_canary\_2021-08-11](https://github.com/duplicati/duplicati/releases/tag/v2.0.6.100-2.0.6.100_canary_2021-08-11)

> Fixed throttling requests to OneDrive and respecting the server `retry-after` headers, thnaks [@tygill](https://github.com/tygill)

but the catch with this way is that the change is not yet in a Beta. If you want to run the latest Canary and decide more carefully (for example by watching form (especially [Releases category](https://forum.duplicati.com/c/releases/10) for added breakages, perhaps that may work. In a later Canary, there’s another change to do retries the way some servers like:

[2.0.6.102\_canary\_2022-04-06](https://github.com/duplicati/duplicati/releases/tag/v2.0.6.102-2.0.6.102_canary_2022-04-06)

> Added exponential backup for retries, thanks [@vmsh0](https://github.com/vmsh0)

If you decide to try the OneDrive-specific options, adding them on the Options screen is safer, as additions done on the Destination screen sometimes get lost. While on Options, make sure that the Remote volume size is something not hugely different from default 50 MB. Very large values might complicate this situation.

I suppose there’s also a chance that waiting a day will see a better situation if something resets or clears…

---

_[View the full topic](https://forum.duplicati.com/t/onedrive-throttling/15051)._
