I have followed this ESRI help document to printing maps against secured service. I have generated token with IP address of this request's origin and bound with ESRI Identity in client side.
I am trying to print the map using PrintTask. It throws an error as follows,
details = [Error executing tool. ExportWebMap Job ID: something]
message = "Unable to complete operation."
Is there any idea? Thanks.