Loading TOC...

XDMP-AUTHMISMATCH

Message Text

Authorization mismatch: variable1 specified, server wants variable2

Cause

The client application used an authentication scheme that did not match what MarkLogic Server expected. For example, the client used basic when the server expected digest.

This error sometimes occurs when the browser caches credentials across a change to the server's authentication scheme.

Response

Change the application server's authentication scheme in the Admin Interface, if appropriate. Or, pass the desired authentication scheme as an explicit option:

<options xmlns="xdmp:http">
  <authentication method="digest">
    <username>myname</username>
    <password>mypassword</password>
  </authentication>
</options> 

For more information, see the Understanding and Using Security Guide.

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.