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.

GitHub | srinathgit | 3 months ago
  1. 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.
  2. 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.
  3. 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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.

    Root Cause Analysis

    1. 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.

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