T-Mobile Interview Question

Talk about time when you had a project go wrong - code failed, something required was absent, scope changed. How did you recover?