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

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

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongoimport
    • None
    • Hide
      Ameya Patil,

      I suspect that you'll find that our suggestions will resolve this problem for you. Feel free to reopen this ticket if they do not.

      Thank you,
      Gabriel Russell
      Show
      Ameya Patil, I suspect that you'll find that our suggestions will resolve this problem for you. Feel free to reopen this ticket if they do not. Thank you, Gabriel Russell

      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

            Assignee:
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Reporter:
            ameya.patil@mongodb.com Ameya Patil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: