I am trying to upload a file using SharePoint 2013 REST API. My command looks like
_api/web/getfolderbyserverrelativeurl('test/Counterparty%20Application/Btearps%20Pending%20Inc/1.%20Application%20Docs/Audits/Vendors/Bllonpill/Gavent%20Reports/')/files/add(url='600144894-mavent%20results-reran%20jombliance%20with%20foxrected%20license%20type.pdf',overwrite=true)
I get the error
response code BadRequest
response phrase Bad Request
The length of the URL for this request exceeds the configured maxUrlLength value.
I saw some people modifying their web.config file for asp.net applications to increase this value... I am not sure if this is possible (or advisable) for SharePoint.
val it: unit=()