I believe this is a known issue (https://github.com/vatesfr/xen-orchestra/issues/5973) that is unlikely to be fixed in XO5.
We'll need to wait for @pdonias to be back from holidays to have more info on this.
just-333 created this issue in vatesfr/xen-orchestra closed Error on vm.set from Jobs tab in XO web GUI #5973