Message Text
Invalid type in variable1: variable2 variable3 variable4
Cause
A REST endpoint was configured with an invalid type. When this error is reported by a MarkLogic REST API instance, MarkLogic Server returns status code 406.
Response
This error corresponds to an HTTP code 400 Bad Request. Check the declaration of the endpoint and correct the invalid type.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.