I was experiencing this issue as well, found out that there are some required parameters I was not sending from the Backend hence causing the error to be raised