Script error

Script error

Is there any reason why this isn't working as we are getting this error message.

https://www.zohoapis.com.au/books/v3/salesorders/XXXXXXXXXXXX?print=true&accept=pdf&organization_id=XXXXXXXXXX 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 = "https://www.zohoapis.com.au/books/v3/salesorders/" + 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.