I had the same problem with my Zed ...
I'm almost certain that it's the Crank Position Sensor ... I had the error code read and the code was indicaing that the sensor was the issue ... so £68 later I got a replacement from Nissan and since it's been fitted .. I've never had the issue again ...
If you experience loss of power while driving ( engine cuts out ) then the issue is related to the Cam Shaft Position Sensors ..
The best thing to do is have the error code read and then take it from there ...