Message Text
Cannot create a nested multi-statement transaction inside a multi-statement transaction.
Cause
An eval or invoke with transaction-mode update was attempted in a multi-statement transaction.
Response
Use transaction-mode update-auto-commit instead.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.