2013 – Internet Explorer 10 Script7002 XMLHTTPREQUEST network error 0x800c0007, no data is available for the requested resource

I'm not sure what's going on here, but I keep getting this error when trying to use the REST API when saving a form. I call $ .ajax, wait for the promise to return, but at some point the promise gets stuck in the middle and never returns. However, if I do enough F10 functions in the debugger, this is the error I get. I'm out of my mind because I have the same methods on other websites, but they don't seem to want to cooperate.

var promise1, promise2;
var promise_array = ();

if(vm.receivables) {
 promise1 = user.postDealItem(args....).then(function(response) {
           vm.model.recId = response.Id;
           return response
});
}

if(vm.standard) {
 promise2 = user.postDealItem(args...).then(function(response) {
           vm.model.stdId = response.Id;
           return response
});
}

if(promise1 != null) promise_array.push(promise1);
if(promise2 != null) promise_array.push(promise2);

$.when.apply($,promise_array).done(function(response) {
    //never gets to this point
});

The promise does not return even if it is successful a few times. It only reloads the page. In my opinion, I have dealt with it in the last 2 days and have come no closer to a solution. I use SP2013 online on my company's website and have integrated Angular (although I prefer jQuery promise / $ ajax methods).