service: properly reporting badly formated values