fixed syntax error in sample upload error reporting