Check out my thread on this issue. I took my car into Nissan twice - the first time the PDM was replaced under the 5/60 powertrain warranty (2016 Leaf SV). The next time the issue occurred, they spotted some codes, some ground wiring issues, and Nissan paid a substantial portion of the repairs...