Ah the curse of adblue.
So first a little overview of the system.
In simple terms, there is a pump that injects adblue into the front pipe upstream of the appropriate catalyst for NOx reduction, this then mixes with the exhaust gases, reaction takes place on the surface of the Cat, low NOx on the output.
What is also happening is that there are NOx sensors checking the exhaust, always post Cat and often also pre-cat.
When you re-fill the adblue, the system checks the quality based on the volume of fluid injected and NOx post cat, its the only time it does a quality check!.
If you got the codes read I would expect it to be an Adblue quality fault.
Of course, there is probably nothing wrong with the Adblue, usually its a furred up injector, failing NOx sensor or even an EGR fault further upstream