DEV Community

Harit Himanshu
Harit Himanshu

Posted on

Answer: MongoDB Atlas mongoimport issues cannot decode array into a D

I just figured out. I had a JSON Array in the file, and for that, I had to append

--jsonArray

It is documented here

with the URL provided.

Hope this helps!

Top comments (0)