It’s not always that you went too far or not far enough: sometimes, water doesn’t pass through the coffee evenly, and weird things happen. To fix it either:

Dose more coffee / Grind finer / Use fresh coffee