com.marklogic.client.ForbiddenUserException: Local message: User is not allowed to apply resource at eval. Server Message: Server (not a REST instance?) did not respond with an expected REST Error message.

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

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

    GitHub | 6 months ago | srinathgit
    com.marklogic.client.ForbiddenUserException: Local message: User is not allowed to apply resource at eval. Server Message: Server (not a REST instance?) did not respond with an expected REST Error message.
  2. 0

    GitHub comment 460#242875437

    GitHub | 6 months ago | srinathgit
    com.marklogic.client.ForbiddenUserException: Local message: User is not allowed to write documents. Server Message: Server (not a REST instance?) did not respond with an expected REST Error message.

    Root Cause Analysis

    1. com.marklogic.client.ForbiddenUserException

      Local message: User is not allowed to apply resource at eval. Server Message: Server (not a REST instance?) did not respond with an expected REST Error message.

      at com.marklogic.client.impl.JerseyServices.checkStatus()
    2. com.marklogic.client
      TestCertBasedAuth.main
      1. com.marklogic.client.impl.JerseyServices.checkStatus(JerseyServices.java:4196)
      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