I don't know how others run it or have acquired the zap2xml stuff but the instructions I gave apply to anything. It is one line in the zap2xml.pl script that you need to change.
I run on Linux so I simply run the script itself (and once you change that on the next run it will be fine.) I do...
Simply change the line with the user agent in your zap2xml.pl file like so-
Change:
$ua->agent('Mozilla/4.0');
To:
$ua->agent('Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0');