In MongoDB data migration scenarios, the target database can contain collections with the same name as those in the source database, but the collections must be empty.
Troubleshooting
If a conflict causes an error, you can delete collections with the same name in the target database or clear their data.