Can you share a time when you faced failure in a project and what lessons did you learn from the experience?

Free for the first 3 answer contributors

Interview question asked to ML Engineering Managers, Data Science Managers, Engineering Managers and other roles interviewing at PharmEasy, Zerodha, Dash and others: Can you share a time when you faced failure in a project and what lessons did you learn from the experience?.