2000 Toyota Avalon - Codes

code says engine knock sensors 1 and 2 are bad. can both go bad at same time. After clearing code runs good for a short period of time. has anyone had similar problem.
Thanks

Yes, they can but usually don’t.

Why does that matter? You have the problem now. If you will post the actual P codes, we will try and help you diagnose the problem.

Yes, sometimes rodents nest in the engines valley and chew the knock sensor wiring.