Improve labels validation and expose error messages