When a file server URL length is longer than the Sharepoint maxUrlLength property (in the web.config file), the requests will fail with the error: "The length of the URL for this request exceeds the configured maxUrlLength value".
Example:
http://example.com/sites/Test_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/sfdfdfadf_azsdfasda/fdfgfgdfdgdf sample work file.docx
Every character after http://example.com/ will be counted. If the number of characters is superior to 400 (the default value for maxUrlLength), this request will fail on the Sharepoint side.
Sharepoint has character limitations on URL length.
The specified file or folder name is too long. The URL path for all files and folders must be 400 characters or less (and no more than 255 characters for any single file or folder name in the URL).
This is explained in the Sharepoint article about File name and path lengths.
To resolve the issue:
1) Either trim the folder relative URL path,
2) Or, the SharePoint team can change the web.config file by increasing the parameter "maxUrlLength".
001117353

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.