Transaction submit failures

But you change the policy id also between the two?
In the metadata.json as well as in the --mint and --tx-outs?

So, you have to run

for every change of the policy.script file.