I was able to fix this, the datasource id was old one only, I have replaced my target datasource id in json and tried, it worked.
A
few feedback points,
1. I will try to pass the target datasource during command execution as a parameter, but I want to know if there is any flag you have for this.
2. Also, the get call is giving JSON without a format; it would be better if it were formatted properly. I have not tried importing without doing any formatting, but let me know if I am missing any. I am new to GD, and your guidance will help me.