Attempt to create a session when calling variable1, which doesn't allow sessions.
The endpoint attempts to create a session but the declaration doesn't allow sessions.
Correct your code
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.