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 | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

    GitHub | 6 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.

    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