I am calling this function (in a client script) from an external suitelet.
var a = {"User-Agent-x": "SuiteScript-Call"};
var url = ''
nlapiRequestURL(url, null, a, handleResponse);
No matter what I do with the function, it returns the exact same error:
Uncaught DOMException: Failed to execute 'send' on 'XMLHttpRequest': Failed to load
Same setup works just fine when using an internal Suitelet/client combo. What gives???