MySQL & MariaDB error 4043 ER_WARN_ADUIT_LOG_MAX_SIZE_CLOSE_TO_ROTATE_ON_SIZE
Same number, two different errors. 4043 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLaudit_log_rotate_on_size is not granular enough for the value of audit_log_max_size supplied. Should be at least … times smaller.
MariaDBLimit of … on JSON path depth is reached in argument … to function '…' at position …