From command line, (administrator level or not) and also from powershell (elevated and standard) my mongoimport is successful, but throws this error first (then continues and works correctly). I’d like to modify the script to avoid the error, but can’t find anything about this in the docs Any ideas? Thanks
PS C:\Program Files\MongoDB\Tools\100\bin> .\mongoimport mongodb://XXXX.net:27017 --db='WW' --collection='TimeStamp' --type csv --file='C:\XXSystems\TimeStamp.csv' --drop --columnsHaveTypes --fieldFile='C:\XXSystems\TimeStampFields.txt'
.\mongoimport : 2023-09-07T14:07:54.849-0400 connected to: mongodb://XXXX.net:27017
At line:1 char:2
+ .\mongoimport mongodb://XXXX.net:27017 --db='WW' --collection='Tim ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (2023-09-07T14:0...XXXX.net:27017:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
2023-09-07T14:07:54.850-0400 dropping: WW.TimeStamp
2023-09-07T14:07:55.169-0400 1 document(s) imported successfully. 0 document(s) failed to import.