Added failure message when data not specified