1-800-691-1991 | 9am - 8pm ET

“Error: Specified argument was out of the range of valid values.” in SharePoint Online and OneDrive for business backup jobs.


SharePoint Online and/or OneDrive backup jobs fail with the following error:
25/07/2018 10:05:17 PM   61 (6188) Error: Specified argument was out of the range of valid values.
25/07/2018 10:05:17 PM   61 (6188) Type: System.ArgumentOutOfRangeException
25/07/2018 10:05:17 PM   61 (6188) Stack:
25/07/2018 10:05:17 PM   61 (6188)    at Microsoft.SharePoint.Client.ChunkStreamBuilder.ReadonlyChunkStream.set_Position(Int64 value)


Due to a bug in SharePoint Online API, incorrect length of a file is returned to Veeam Backup for Microsoft Office 365 during a backup job run. This results in treating an EOF marker as an ungraceful termination of a download stream and initiating a retry from the last good position. Since the last good position is, in fact, an EOF marker, a read request is issued with an argument which is out of the range of valid values.


While a bug in SharePoint Online API is yet to be fixed by Microsoft, a hotfix with improved handling of such situations is already available for Veeam Backup for Microsoft Office 365 as part of Cumulative Patch KB2765
Veeam Backup for Microsoft Office 365
Last Modified:
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.


error icon

Oops! Something went wrong.

Please go back try again later.