We are facing issues with printtask() method of ArgGIS in JavaScript while using secure services. Our services are secured with Long-lived token. The application has proxy.jsp file which is used for supplying Long-lived tokens. Services are inaccessible in this case and error comes as “Unable to complete operation”. The application works smoothly by removing the token from services.
We need solution so that printtask() method of ArgGIS will work with token also.