There is no database named: variable1 in the package variable2
Request to get a non-existent database from a package.
Use a different database name.
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.