I know that the exercise is about conjugating "devoir" but the second clause is unusual.
You were supposed to go and see her, but something came up. Will there be an separate exercise for this construction?
".... but something came up" .... " ..... mais tu as eu un empéchement"