The key was bound to an index, field, or callback, which could not produce a valid query in this context. Either the bindings have a problem, or the key is being misused.
Response
Fix the bindings or the query, as appropriate.
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.