go awry

Translations
пойти наперекосяк
The plan went awry when it started raining.
План пошел наперекосяк, когда начался дождь.
Definitions
To go wrong or to deviate from the expected course or outcome.