DEV Community

Harit Himanshu
Harit Himanshu

Posted on

4 4

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)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post