Unexpected private key type. Expecting %1 but found %2 in the e2ee_private_key file '%3'

Error code 254
Error constant E2EE_UNEXPECTED_PRIVATE_KEY_TYPE
Parameter 1 The end-to-end private key type from the e2ee_type option.
Parameter 2 The end-to-end private key type from the file.
Parameter 3 The private key file from the e2ee_private_key option.
 Probable cause