Started a English B2 course on this site PerfectlySpoken. Came across these two sentences, which one is correct is the question of the exercise, the teacher said the first one is, but I did not understand why. In my brain both make sense for some reason.
I have had a headache all morning. -> Correct
I have been having a headache all morning. -> Incorrect