if no data is provided this should be invalid
improve the error message when dict is empty
add a test for new failure
bump version