I had exactly the same problem on my 2023 E160 RSX, 3 visits to the shop where they removed and refitted the wiring harness.
It seems the wiring was loose inside the down tube and was being pulled when inserting the battery, the battery had been getting harder to insert and eventually would...