Data got corrupted

This needs to go into a Support Ticket.

Provide them with:
MongoDB Version
Compass Version
If on Atlas provide the cluster information and links.

They will guide you from there.