Handle errors from ADN properly