Probably an air leak. Search thread titles for your codes...and search jfoj's sig for link to 'fix your bmw' thread. There are many hoses that can break, but the first is usually the lower intake boot.
Debut Radio Show Tuesdays from 1-2-ish p.m. EST on Hamiltonradio.net The Mechanical Animals
call in for car repair help! 609-503-4058
A recent set--NSFW audio: https://youtu.be/_dcxcZfD6dg
Mangofy your E46!