Closed dhunink closed 9 years ago
possible solution: change portalurl to xxx.maps.arcgis.com instead of arcgis.com for this call
Fixed by replacing with the following url var requestUrl = portalUrl + "/sharing/rest/portals/" + portal.id + "/users";
{"error":{"code":400,"messageCode":"GWM_0002","message":"Invalid URL","details":[]}}