Even if it happened only once and goes away, you have to address it. P2138 is twist-grip position sensor correlation error. Along with a P1510 which is "fall back on power". (That's understandable)
What bothers me about these contacts fretting is nothing has been done to STOP the micro-motion. Applying the Nyogel lube only Helps,, But unless you stiffen up the male and female connector from moving with some retainer the problem will return, over and over. There will be no stopping it.
The way it is usually stopped, is by applying a 2 step process. Step 1 is to replace both of the common "Tin" contact connectors with Gold flash connectors. Both the male and female connector pin Must be replaced,,and...
The 2nd step was to apply some kind of Retainer clip to the joined connector in order to only allow the connector (male-female) to vibrate as a complete unit and NOT allow the male and female connections to vibrate INDEPENDENTLY of each other. Independent vibration is what causes fretting to start with.
Allowing the contact "halves" to vibrate independently of each other is the real root cause of this entire issue.
My guess is 'down the road' HD makes the cable and twist grip pots "one" and eliminate this troublesome connector COMPLETELY out of the picture. Just make the handlebar cable a part of the twist grip pots. Putting a sensitive 6 pin connector on a vibrating handle bar was silly to start with.
***If I had TBW, I would just solder that connector together and make it one. Who really needs a 6 pin connector there anyway? Just get rid of it completely & eliminate the risk of a P1510 popping up when you need the throttle the most.***
Even if you don't shore up the connector yourself, at the Very least, document everything that takes place regarding these error codes.