com.marklogic.client.FailedRequestException: Local message: failed to apply resource at eval: Unauthorized. Server Message: Unauthorized

GitHub | srinathgit | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

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

    GitHub comment 460#242875437

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

    Root Cause Analysis

    1. com.marklogic.client.FailedRequestException

      Local message: failed to apply resource at eval: Unauthorized. Server Message: Unauthorized

      at com.marklogic.client.impl.JerseyServices.checkStatus()
    2. com.marklogic.client
      TestCertBasedAuth.main
      1. com.marklogic.client.impl.JerseyServices.checkStatus(JerseyServices.java:4200)
      2. com.marklogic.client.impl.JerseyServices.postIteratedResourceImpl(JerseyServices.java:3665)
      3. com.marklogic.client.impl.JerseyServices.postEvalInvoke(JerseyServices.java:3608)
      4. com.marklogic.client.impl.ServerEvaluationCallImpl.eval(ServerEvaluationCallImpl.java:163)
      5. com.marklogic.client.functionaltest.TestCertBasedAuth.main(TestCertBasedAuth.java:97)
      5 frames