At an endpoint, displacement and restoring acceleration have maximum magnitude but velocity is zero. At equilibrium, displacement and restoring acceleration are zero while speed is maximum. These quantities peak at different phases. Another common mistake is to assume every periodic oscillation is exactly SHM; the restoring acceleration must be proportional to displacement and opposite in direction for the ideal SHM model.
Correction: Use a labelled cycle or x=A cos(ωt+φ), then derive v and a. Check the signs at equilibrium and at a turning point before describing maxima.
Quick check: Have you identified the equilibrium point, direction of restoring acceleration, and phase at the stated position?