I already tried that, I have taken all of the tie wraps off to make sure, also taken the plug off and refitted.Had the same fault it was the speed sensor cable at the led end, I had pulled it to tight with a cable tie
I was travelling on a tarmac cycle path when it first showed on PAS 5 and pedalling. I had used just the throttle to coast prior to the code showing.