I am trying to use a Web Request in Sharepoint 2016 to move files from once folder to another using the following request:

Note the %3B in the filename. (%3B = Semicolon). It returns Unexpected error occurred while making the request.

I have tried the ; directly with no luck as well. Is there another way to escape or encode the semicolon to make it work?


URL: http://mywebsite/mysharepointsite/_vti_bin/_vti_aut/author.dll



Name: X-Vermeer-Content-Type

Value: application/x-www-form-urlencoded


method=move+document: Documents/test%3Bdoc%2Epdf&newUrl=Published Documents/2016/test%3Bdoc%2Epdf&url_list=[]&rename_option=findbacklinks&put_option=overwrite,migrationsemantics

  • This is a Sharepoint API question. I mentioned NINTEX to give people reference that I am not looking for a coded solution. – Chris ten Den Jan 18 '17 at 15:30

Have you use '\' for escape character in REST API because special characters are not used in rest API so we need to escape this characters.

  • That works brilliantly. I never would have expected that \%3B would work, but it does. – Chris ten Den Jan 18 '17 at 19:47
  • Yes, In REST API for escape character we need to use '\' for all special character. – Samir Khimani Jan 19 '17 at 3:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.