Unexpected public key end-to-end encryption type. Expecting %1 but received %2

Error code 252
Error constant E2EE_UNEXPECTED_PUBLIC_KEY_ENC_TYPE
Parameter 1 The end-to-end encryption type from the server.
Parameter 2 The end-to-end encryption type from the client.
 Probable cause