Hello Giulia!
That that's not quite the right use of 'amiss', although it is very close. You would say something "was" amiss rather than that it "went" amiss. The word you probably want is "awry":
Their plans went awry when Peter became ill.
(That does have the exact same meaning as "wrong", to my ear.)
"Go amiss" does exist, but has a slightly different meaning. It's only ever used in the negative: "A nice pint wouldn't go amiss". This means that the thing wouldn't be unpleasant.
I should say this is a very "nice" point and that, if you are worrying about things like this, then your English must be pretty tip-top.