Error in data import ERPNext version 12

Hi there. I am using version 12 of ERPNext.
I am not able to import any doctype from data import section of ERPNExt. It gives the error in console which is attached as a picture here. I think there is some file upload API issue.