413 - Request Entity Too Large
The request exceeds the service's size limit. The status doesn't identify the limit, so check the documentation for the operation you called.
What to check
- Measure the size of the outgoing request in bytes and compare it with the documented limit.
- Reduce the size of the body or use the API's documented option for larger requests. For a large OneDrive or SharePoint file, check whether you can use an upload session and split the file into fragments.