MongoDB 4.4 enterprise - Cloned mongodb database into another server


I was trying to clone my mongodb database to another server by passing the same master key and key vault, getting the below error.

“input ciphertext too small.”

c:\data\mci\c3e1c67910ce6cab45cf950c069c3957\libmongocrypt\src\mongocrypt-crypto.c:232 _mongocrypt_calculate_plaintext_len(): precondition failed: ciphertext_len >= MONGOCRYPT_HMAC_LEN + MONGOCRYPT_IV_LEN + MONGOCRYPT_BLOCK_SIZE

Anyone one’s help will be appreciated.