New amp document uri cannot be empty
You are providing an empty document URI.
Provide a non-empty document URI, which should be the URI of the module containing the function.
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.