Both of those codes could be related to a clogged DEF injector.
Bimmerfest - BMW Forums - View Single Post - Reducing agent metering valve actuation fault. The injector is easy to remove and inspect. Do you have access to a BMW scanner? The BMW specific codes may offer more clues.
The injector is easy to see under the car. Just crawl under the passenger side and look at the top side of the pipes.