The first look like the AIT sensor connector.
The 2nd is obdII connector and does not get plugged in except when accessing the ecu. It tucks beside the battery box
Edit - Just looked at the first pic again. The one by your thumb looks like the AIT sensor plug, the other I do not know.
Take a pic of the relative location on the bike and post. Hopefully
@DEcosse can advise from there.