I had this exact thing happen to me two weeks ago. Pretty disappointing for a $120k car. Mine is a Tesla Model X, only 2 months old. Had to take it into service, they had to replace both keys and swap out a sensor.
Now only if they could fix my Falcon Wing door sensor...I guess there is a 1-2...