When trying to upload a file of ~300 MB size using spo file add I get the following error message:
{
"odata.error": {
"code": "-1, Microsoft.SharePoint.Client.InvalidClientQueryException",
"message": {
"lang": "en-US",
"value": "The request message is too big. The server does not allow messages larger than 262144000 bytes."
}
}
}
It appears that files of 250 MB or more can't be uploaded in the body of a single request, as done currently.
In old REST API documentation there is mention of endpoints StartUpload, ContinueUpload, FinishUpload and CancelUpload which allow for chunked file uploads.
Would it be possible to switch to a chunked upload approach for large files? Or are there other methods to accomplish this using the CLI?
When trying to upload a file of ~300 MB size using
spo file addI get the following error message:{ "odata.error": { "code": "-1, Microsoft.SharePoint.Client.InvalidClientQueryException", "message": { "lang": "en-US", "value": "The request message is too big. The server does not allow messages larger than 262144000 bytes." } } }It appears that files of 250 MB or more can't be uploaded in the body of a single request, as done currently.
In old REST API documentation there is mention of endpoints
StartUpload,ContinueUpload,FinishUploadandCancelUploadwhich allow for chunked file uploads.Would it be possible to switch to a chunked upload approach for large files? Or are there other methods to accomplish this using the CLI?