This post was most recently updated on September 16th, 2021.3 min read.
This is one of the kind of weird issues that you don’t really run into in your own development environments, but that you more often run into when you actually have non-godlike permissions. Oh, the woes of trying to use SharePoint with anything less than farm/global administrator… :) Anyway, in this post, I’ll describe a couple of solutions to an error:
“Sorry, your files couldn’t be uploaded. The upload might be too large or the server might be experiencing high network traffic”
Funnily enough, I usually encounter this issue with a following set-up:
- On-premises SharePoint server (2013 or 2016 – occasionally also SharePoint Online, but that’s less typical!)
- Small files (of 1-200kb)
- The server has been experiencing very low network traffic.
The error really doesn’t seem to describe the issue at all – so what’s actually causing this? It has got to be something in the backend, right? Well, yes – but especially in SharePoint Online there’s almost nothing you can do.
Quick googling didn’t give any actual reasons or fixes for the issue. A lot of people online seem to suggest changing your browser to something else from Internet Explorer… While it might not be a bad idea in itself, it does seem like a ridiculous fix – and also didn’t work for me :)
However, every single time so far, going through this checklist has helped me solve the issue and get rid of the error:
Time needed: 15 minutes.
How to solve “Sorry, your files couldn’t be uploaded. The upload might be too large or the server might be experiencing high network traffic.” -error
- Allow “custom scripts”
You can do this from site’s settings (see how to enable custom scripts)
- Rule out permission issues
Contributor permissions are probably not enough – get an account with higher permissions (or make your user account a site collection admin)!
- Activate the Modern view for the library
Activate the Modern view for the library (if you’re using SharePoint 2019 or SharePoint Online), and edit the file directly in the browser (see below).
- First, click on the file to open up the preview
By bringing up the preview, you’ll get new options to the ribbon.
- Then, select “Open” and “Open in Text Editor” to open the file in an in-browser text editor.
Somewhat like shown below:
- Edit the file in browser
I know, I know, this is a super lame version to work around SharePoint not functioning properly. But finding out new ways to do that was pretty much my life for 8 hours a day for 5 years.
So, just edit the damn file.
You can even copy-paste the contents from your offline file to the file you’re editing online (in case you’re just trying to overwrite it).
SharePoint should save your changes automatically!
(Note: You can also synchronize the library to your machine and edit (or overwrite) the file locally. This way you’ll be using OneDrive client for the upload.)
As a side note, for actually big files in on-premises scenarios, you might also want to take a look into these tuning ideas – has never been required for me, but still worth a shot!
And that should be it!
- How to authenticate against Azure Key Vault both in Azure and local development environment? - October 26, 2021
- System.Text.Json.JsonPropertyName not working for CosmosDb in .NET Core/5? - October 19, 2021
- Errors loading an assembly that’s using Microsoft Graph API - October 12, 2021