Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

The length of the URL for this request exceeds the configured maxUrlLength value.

$
0
0

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=()



Viewing all articles
Browse latest Browse all 8089


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>