show error when schema is missing type