VMware NSX
VMware NSX-T Data Center
If the "Type of Service" of a NAT rule is "ICMP" and the "ICMP Code" is null, editing the rule will automatically set the "ICMP Code" to 0.
This issue will be fixed in a future version.
If you don't need the "ICMP Code" then remove that value.