The error:
{"error":{"code":400,"message":"Unable to complete operation.","details":["Error executing tool. Export Web Map Job ID: j56ff7247723a48e89f247ed4dfbb5d70"]}}
The scenario:
- Local on-premise Portal for ArcGIS with federated ArcGIS Server
- Webmap which contains secured and shared on-premise map service and a remote secured map service. The remote map service is from ArcGIS Server that is not federated with their Portal for ArcGIS
- The local on-premise print geoprocessing service uses the same security as the local map service
- A resource proxy is used for both services - on-premise and remote.
- The local map service uses OAuth2 available via the proxy: