Message Text
Invalid database in execution context: variable1
Cause
The database id in the evaluation context of a domain specification does not match the id of any database.
Response
Provide a valid database ID in the evaluation context of the domain specification.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.