I'm not sure what codes would be present as I haven't dealt with the issue personally, I have just seen it come up a bunch on the forums.
I believe the upper egr cooler on the 335d is the same, or at least close enough. They seem to have a larger DIY community and sometimes have more info than here
https://www.e90post.com/forums/showthread.php?t=1532837