com.mongodb.MongoException: not authorized to create index on

JIRA | Rajesh Sharma | 3 years ago
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

    Issue with unique index - Mongodb

    GitHub | 4 years ago | regis-leray
    java.lang.IllegalArgumentException: Unexpected error reading data set file.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.mongodb.MongoException

      not authorized to create index on

      at com.mongodb.CommandResult.getException()
    2. MongoDB Java Driver
      1. com.mongodb.CommandResult.getException(
      2. com.mongodb.CommandResult.throwOnError(
      3. com.mongodb.DBTCPConnector._checkWriteError(
      4. com.mongodb.DBTCPConnector.say(
      5. com.mongodb.DBTCPConnector.say(
      6. com.mongodb.DBApiLayer$MyCollection.insert(
      7. com.mongodb.DBApiLayer$MyCollection.createIndex(
      8. com.mongodb.DBCollection.createIndex(
      8 frames
    3. com.fitch.financial_statement_api
      1. com.fitch.financial_statement_api.dao.NicknameChangeLogDAOTest.tesTTLIndex(
      1 frame