You need to sign in to do that
Don't have an account?
Andrew2X
NETWORK_ERR: XMLHttpRequest Exception 101
One of our customers suddenly started getting this message today. It occurs when an AJAX request is made to fetch Asset records. The user is using Safari browser, and I have tried running the application myself in Safari but did not get this error.
This is not a cross site AJAX request, it's a normal sfdc AJAX request to fetch some records, and it works fine in Firefox and IE.
Does anyone know what might cause this error?
Hi,
I was retrieving the same error on Safary. The problem was the way that my function call returned a string that Safary couldn't manage. I found the solution here: http://stackoverflow.com/questions/3076547/xmlhttprequest-exception-101-on-nested-ajax-queries
I had a call like:
var result = sforce.apex.execute("XXXX");
I replaced it with:
var result = sforce.apex.execute("XXXX").replace(/\0+$/,'');
And it works in Safary again. Note that this doesn't work in other browsers. You should check which browser is used before.
Good luck!
Thank you for this information! I will try your suggestion.