I’ve had that intermittently from new, I’m certain it’s a poor connection on the multi plug at the wiper motor, it’s not a very good quality plug and wiggling it makes the go again.
The multitude of pivots can dry up a bit too under the scuttle, I removed all the wiper arms and left them running a while with a little lubricant here and there where I could reach, this certainly helps.