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> --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 on 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