i have had that happen once a long time ago
short story
check your ECU/DME box for condensation, located passenger side of engine bay up top by windshield. use an electronics spray cleaner on the connections, make sure everything is dry, reset your code and you should be good to go