Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1648

MongoImport "error validating settings: only one positional argument is allowed"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mongoimport
    • Labels:
      None

      Description

      Trying to import a file leads to error "only one positional argument is allowed."
      Here is the command. It is hard to figure out if there is an error in the cmd.

      mongoimport ­-d mmsdbconfig -­c config.customers --file '/Users/ameyasuhaspatil/mmsdbconfig.config.nds.groups239286045.json'

      If there is any error in command, I could not figure it out using mongoimport --help.

      Thanks

        Attachments

          Activity

            People

            Assignee:
            gabriel.russell Gabriel Russell
            Reporter:
            ameya.patil Ameya Patil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: