com.marklogic.client.ForbiddenUserException: Local message: User is not allowed to apply resource at graphs. Server Message: You do not have permission to this method and URL.

GitHub | srinathgit | 3 months ago
  1. 0

    Unable to close() connection when using user with only "rest-reader" privileges

    GitHub | 3 months ago | srinathgit
    com.marklogic.client.ForbiddenUserException: Local message: User is not allowed to apply resource at graphs. Server Message: You do not have permission to this method and URL.
  2. 0

    Throwing Sesame exception

    GitHub | 3 months ago | srinathgit
    com.marklogic.client.ForbiddenUserException: Local message: User is not allowed to open transactions. Server Message: You do not have permission to this method and URL.
  3. 0

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

    GitHub | 3 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 460#242875437

    GitHub | 3 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 graphs. Server Message: You do not have permission to this method and URL.

      at com.marklogic.client.impl.JerseyServices.checkStatus()
    2. com.marklogic.client
      GraphManagerImpl.mergeGraphs
      1. com.marklogic.client.impl.JerseyServices.checkStatus(JerseyServices.java:4629)
      2. com.marklogic.client.impl.JerseyServices.postResource(JerseyServices.java:3515)
      3. com.marklogic.client.impl.JerseyServices.mergeGraphs(JerseyServices.java:5466)
      4. com.marklogic.client.impl.GraphManagerImpl.mergeGraphs(GraphManagerImpl.java:342)
      4 frames
    3. com.marklogic.semantics
      MarkLogicRepositoryConnection.close
      1. com.marklogic.semantics.sesame.client.MarkLogicClientImpl.performAdd(MarkLogicClientImpl.java:294)
      2. com.marklogic.semantics.sesame.client.MarkLogicClient.sendAdd(MarkLogicClient.java:296)
      3. com.marklogic.semantics.sesame.client.WriteCacheTimerTask.flush(WriteCacheTimerTask.java:150)
      4. com.marklogic.semantics.sesame.client.WriteCacheTimerTask.forceRun(WriteCacheTimerTask.java:167)
      5. com.marklogic.semantics.sesame.client.MarkLogicClient.sync(MarkLogicClient.java:151)
      6. com.marklogic.semantics.sesame.MarkLogicRepositoryConnection.sync(MarkLogicRepositoryConnection.java:1366)
      7. com.marklogic.semantics.sesame.MarkLogicRepositoryConnection.close(MarkLogicRepositoryConnection.java:131)
      7 frames