Sharepoint Online File upload limit through APIs
What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
SharePoint REST API
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested
- [ ] 💥 Internet Explorer
- [ ] 💥 Microsoft Edge
- [X] 💥 Google Chrome
- [ ] 💥 FireFox
- [ ] 💥 Safari
- [ ] mobile (iOS/iPadOS)
- [ ] mobile (Android)
- [ ] not applicable
- [ ] other (enter in the "Additional environment details" area below)
Additional environment details
- browser version
- SPFx version
- Node.js version
- etc
Issue description
We are using the following configurations to setup sharepoint APIs integrations and use them in our application. https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs
When we try to upload a large file using these APIs into sharepoint, we are getting following message: [title=SharePoint returned a 400 HTTP error, message=SharePoint returned the following error code: -1, Microsoft.SharePoint.Client.InvalidClientQueryException, detail=The request message is too big. The server does not allow messages larger than 262144000 bytes.]
Is there a possibility to increase the upload size limit for this particular process in sharepoint online?
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Have you checked out this page for guidance on uploading large files using the chunked file upload method?
https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/upload-large-files-sample-app-for-sharepoint