I am trying to make a REST api call and get the items in a document library using the below url


But I am getting the following error

A list, survey, discussion board, or document library with the specified title already exists in this Web site. Please choose another title.

I checked for other lists, the REST api seems to work fine and returns items


The error message seems to be incorrect, but looking at your code, I would change this:


to this:


The unencoded & is probably what's causing the error.

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.