Creation of dataset failing through API

@doron I tried doing the same with javascript - it did not work for me. You can refer the details in the link below