Throttle actuators

I’m getting generic u1140 and u1141 “insufficient data for gateway”, codes coupled with check engine lights and limp mode in my 2008 e64 m6 convertible. Starts and runs like new when cold but throws codes upon restart.  Any ideas? Could it be throttle or idle actuators?