Error import data to mongo atlas cluster mongimport

I’m trying since 2 days to import data to my mongo cluster using the mongimport command but i’m getting an error

my mongoimport command

mongoimport --uri mongodb+srv://cabinetdermes:<MYPASSWORDHERE>@cluster2.ufzkq.mongodb.net/cabinetdermes --collection myData --type json --file /Users/zakisb/Desktop/inventory.crud.json

The error that i keep getting

2021-10-08T13:33:35.808+0100    error parsing command line options: error parsing uri: lookup cluster2.ufzkq.mongodb.net on 172.20.10.1:53: cannot unmarshal DNS message

Can you connect to your cluster with SRV string?
Did you try from another location?
May be your network not supporting SRV
Try to enclose SRV string in quotes
Or try long form of string with --host option