fixed api error message for uploading empty dataset