Both. It’s a pretty easy fix- the AFP needs reset. It’s not really any harder than a fork service- not for everyone but a competent DIY spannerist could fix it. There’s a £5 AFP height tool that’s useful enough to make it worth buying, and you need an oil level setting tool to do it right (which in my case, is a narrow straw with a syring glued to the end). And a vice with soft jaws. It took me a couple of hours at a nice leaisurely place the first time, I reckon I could do it in under an hour.
it’s a sort of underlying flaw of the AFP seal- sometimes it doesn’t seal as well as it should. So it doesn’t even need a single replacement part (because any replacement AFP seal has the same issue- not much point in replacing it. Supposedly replacing the original seal with a plain oring can fix it but I’ve not tried that.)
But bizarrely when I warrantied mine they replaced the whole thing.