The error occurs due to a mismatch in encryption settings between the client and server. To resolve it, update the server’s configuration file (firebird.conf) by setting WireCrypt = Disabled, then restart the server. Ensure the client-side settings match, and try removing wireCrypt if issues persist. Also, check for compatibility between the client and server versions. After making changes, restart both the database and application.