com.marklogic.client.FailedRequestException: Local message: write failed: Unauthorized. Server Message: Unauthorized

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by srinathgit
, 1 year ago
Local message: write failed: Unauthorized. Server Message: Unauthorized
via GitHub by kkanthet
, 1 year ago
Local message: write failed: Unauthorized. Server Message: Unauthorized
via GitHub by ableasdale
, 1 year ago
Local message: write failed: Internal Server Error. Server Message: XDMP-BADPINAME: xdmp:get-request-body("xml") -- Invalid processing instruction name "xml" at line 1 . See the MarkLogic server error log for further detail.
via GitHub by sammefford
, 2 years ago
Local message: write failed: Bad Request. Server Message: RESTAPI-INVALIDCONTENT: (err:FOER0000) Invalid content: Invalid patch (maybe missing pathlang property?)
via GitHub by sammefford
, 2 years ago
Local message: write failed: Internal Server Error. Server Message: XDMP-UNEXPECTED: (err:XPST0003) Unexpected token syntax error, unexpected Dot_. See the MarkLogic server error log for further detail.
via GitHub by georgeajit
, 2 years ago
Local message: write failed: Bad Request. Server Message: PARSE-EXPR (err:FOER0000): Failed to parse expression: Foo )] . firstName
com.marklogic.client.FailedRequestException: Local message: write failed: Unauthorized. Server Message: Unauthorized
at com.marklogic.client.impl.JerseyServices.putPostDocumentImpl(JerseyServices.java:1381)
at com.marklogic.client.impl.JerseyServices.putDocument(JerseyServices.java:1183)
at com.marklogic.client.impl.DocumentManagerImpl.write(DocumentManagerImpl.java:913)
at com.marklogic.client.impl.DocumentManagerImpl.write(DocumentManagerImpl.java:751)
at com.marklogic.client.impl.DocumentManagerImpl.write(DocumentManagerImpl.java:681)
at com.marklogic.client.functionaltest.TestCertBasedAuth.main(TestCertBasedAuth.java:103)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.