Cannot Restore products.json After Sharding Collection

I got error after sharding collection while imprting data again.

I tired to import products.json again then I got this error.
Cannot accept sharding commands if sharding sta
te has not been initialized with a shardIdentity document

Hi @Beytullah_48478,

It would be great if you can share the screenshot of the command that you ran and the error message that you are getting.

Also share the output of this command.


Shubham Ranjan
Curriculum Support Engineer