MySQL & MariaDB error 4020 ER_ANONYMOUS_TO_GTID_UUID_SAME_AS_GROUP_NAME
Same number, two different errors. 4020 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLReplication '…' is configured with ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS = <UUID> where the UUID value is equal to the group_replication_group_name