Return proper id values on method or decode errors