I read something similar about my Toyota Sequoia back when I had a problem with the ABS and my code reader wasnt finding anything. Jumper a few pins on the diagnostic plug and do a secret handshake with the ignition while opening and closing the door in a specific pattern. I was skeptical but after reading it in several places, gave it a shot.
It worked. The whole dashboard lit up like a Christmas tree, then the check engine light blinked a pattern to give the code. I used the blinking sequence to diagnose a bad sensor, replaced both brake pressure sensors (the code doesnt specify which of the two it was diagnosing, so I did both), and the code and check engine light went away.
Dont know the actual procedure for your Nissan, and I would be reluctant to try it unless I saw more than one or two forum posts from someone who tried the same procedure, but just wanted to say in my case I was able to make a 'trick' like this work.
1993 240sx convertible
2012 Mazda 2
2012 Mazda 3
2017 Mazda 3