An attempt was made to update a server-maintained property, and user code cannot update those properties (for example, prop:last-modified, prop:content-length, and prop:directory).
Response
Change your code to not update these properties.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.