Response
Check the documentation for the Accept types that the endpoint supports. Include at least one of the supported MIME types in the Accept header. When this error is reported by a MarkLogic REST API instance, MarkLogic Server returns status code 406.