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

GitHub | srinathgit | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 460#242875437

    GitHub | 6 months ago | srinathgit
    com.marklogic.client.FailedRequestException: Local message: write failed: Unauthorized. Server Message: Unauthorized
  2. 0

    Incorrect exception message when using invalid certificate (Certificate Based Authentication)

    GitHub | 6 months ago | srinathgit
    com.marklogic.client.FailedRequestException: Local message: failed to apply resource at eval: Unauthorized. Server Message: Unauthorized

    Root Cause Analysis

    1. com.marklogic.client.FailedRequestException

      Local message: write failed: Unauthorized. Server Message: Unauthorized

      at com.marklogic.client.impl.JerseyServices.putPostDocumentImpl()
    2. com.marklogic.client
      TestCertBasedAuth.main
      1. com.marklogic.client.impl.JerseyServices.putPostDocumentImpl(JerseyServices.java:1381)
      2. com.marklogic.client.impl.JerseyServices.putDocument(JerseyServices.java:1183)
      3. com.marklogic.client.impl.DocumentManagerImpl.write(DocumentManagerImpl.java:913)
      4. com.marklogic.client.impl.DocumentManagerImpl.write(DocumentManagerImpl.java:751)
      5. com.marklogic.client.impl.DocumentManagerImpl.write(DocumentManagerImpl.java:681)
      6. com.marklogic.client.functionaltest.TestCertBasedAuth.main(TestCertBasedAuth.java:103)
      6 frames