When can I claim flight compensation?

Airlines often tell people they can’t claim flight delay compensation when they’re actually entitled to hundreds of pounds, so it’s easy to get confused about when you can and can’t claim.