Electronic throttle control light on on 2007 Jeep Patriot

My 2007 jeep patriot has the electronic throttle control & electronic stability control lights on. Vehicle idles rough & won't go over 20 mph!!

Asked by for the 2007 Jeep Patriot
when there is a problem with the fly by wire system, it wont accelerate. it usually re sets by turning the key off and then back on. if it still exists, then it is a hard failure. you need a shop to check it for you to verify that the throttle body has to be replace. it is pricy.
have them check for other codes as well for the stability control.