MySQL & MariaDB error 4037 ER_CHANGE_RPL_SRC_WRONG_COMPRESSION_ALGORITHM_SIZE
Same number, two different errors. 4037 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLValue too long setting SOURCE_COMPRESSION_ALGORITHMS option to a … chars long string for channel '…'.
MariaDBUnexpected end of JSON text in argument … to function '…'