Frig. front loader won't pump during spin

Hi,
My Frigidaire front load washer has trouble on the spin cycle. The pump kicks on for three seconds, then shuts off, and repeats. It takes a long time to get the water pumped out. Sometimes it works fine. I have tried advancing the timer to another spin cycle setting, but get the same condition.

Thoughts: water level sensor? spin control board? pump?

Thanks for your help

The first thing I would check is for obstructions or restrictions in the drain hoses and the pump.

AP5184476

AP4359940