Path Collision trying to Export Collection

I’m completely new to Mongo so please bear with me. I’m using Compass and I’m able to view collections, query the data, etc. Everything is working fine.

When I try to export a whole collection, on most collections, it works fine.

When I tried to export 1 collection (all fields) to a CSV file, I get an error:

Path collision at Contact.Email remaining portion Email

I’m not selecting individual fields, or doing anything crazy. I’m just trying to export the whole collection.

I noticed that when I view the documents in the collection, I don’t even see the offending fields.

What is your Compass version?
Could be bug with latest version
Check this link

https://jira.mongodb.org/browse/COMPASS-4723?jql=project%20%3D%20COMPASS%20AND%20fixVersion%20%3D%201.24.1

I’m having the same issues and I’m running the most recent Compass version.

Did you try with lower version of Compass?

or try the fix given in that link-unselect the fields causing the error