I’ve had the same problem as well about a week ago.
Picked the car up (2023, 5k miles) and on the way to a garage to look at the brake pads, went into limp mode. Couldn’t change gears.
Restarted once and could change gears, error was still there
After 10 mins, error went away on its own...