I try to migrate my mongoDb to azure´s cosmosdb. when I try to do the import as following
mongorestore --host $host:10255 -u $user -p $password --ssl --sslAllowInvalidCertificates --batchSize 240 --drop --db chronas-api $folderPath
I get this error:
error: Message: {"Errors":["Request size is too large"]}
I have tried already some other values for the --batchSize param but nothing worked.
can someone help me to workaround this issue?