Search code examples
mongodbmongodb-compass

MongoDB Collection export error Path collision at tokens


I am trying to export my collections from Atlas to my Local MongoDB with MongoDB Compass tool. The issue is I can export some collections but my user collection returning error.

Error is: Path collision at tokens.0BUo4-zWowM9ldTIUbs57Q remaining portion 0BUo4-zWowM9ldTIUbs57Q

Any help appreciated, thanks.

MongoDB Compass version is 1.28.1


Solution

  • By some search, I saw some other people facing similar problem. So it may be caused by some bug on MongoDB Compass version is 1.28.1. Workaround solution was using command line interface like below.

    mongodump --uri="<connection-string>" --out /path/to/export