Error while importing Json file

Failed: error reading separator after document #1: bad JSON array format - found no opening bracket ‘[’ in input source

I believe the file data is not correct, we need to have ,(comma) at the end of every record set in the file, request you to please share the correct file with such commas(,) at the end of every records.

File is getting loaded after above specified changes(tried with few records).

What is the command you used? I don’t remember having to do that for it to work.

@Mohit_29117

The problem is with your command, not with the file which works just fine. I would suggest that you (a) download it again just to be sure it’s not corrupted (unlikely, but possible) and (b) then use the correct mongoimport command format.