The interviewer asks this question not because they will reject you but wants to know how you react to certain naysayers. This question is asked to check how motivated you are with the job and how adaptable you could be. You can answer this by saying - “I take failure as a lesson to do better in the future. I learn and try to fix my mistakes. In my previous job, I faced a similar situation, and I went to my colleagues and team members to take feedback from them. Though I am a team leader, in my opinion there are still so many things I need to learn.”