Avoid chomping of error messages
Do not use "0" as ID unless it can be correctly parsed