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 Inerface, 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.