Script error

Script error

Is there any reason why this isn't working as we are getting this error message. might be having issues, or it may have moved permanently to a new web address

XXXXX just our data blacked out‚Äč

Thank you

script used as custom button in sales order detail page was 

organizationID = organization.get("organization_id");
salesorderID = salesorder.get("salesorder_id");
pdfUrl = "" + salesorderID + "?print=true&accept=pdf&organization_id=" + organizationID;
resultMap = Map();
return openUrl(pdfUrl,"popup window");

Apparently this was a working script before but changed for the new API domain etc.