Request Print Map(Export Web Map) rest API exception

644
1
06-13-2020 02:31 AM
SailiasPeng
New Contributor

When Call Export Web Map Task—ArcGIS REST API: Services Directory | ArcGIS for Developers  with Client Side graphics (ExportWebMap specification—ArcGIS REST API: Services Directory | ArcGIS for Developers ),

The parameters:

Web_Map_as_Json:  Web_map_as_json.json

Format: PNG8

Return Format: JSON

Request Method: Post

the service sometimes return Gateway timeout error, and return an empty image(as 2kb size) most of the time. I checked the info/log on the server,but there is not any exception or error output.

Also, the I've tested on these services:

http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%2...

http://sampleserver5.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%2...

it returns images normally, but sometimes empty images unpredictably either.

 

Does any one encounter with this? 

0 Kudos
1 Reply
VictorTey
Esri Contributor

Hi, just taking a shot in the air, are your request going through a proxy gateway or reverse proxy, I have seem implementation of proxies behaving like that.

0 Kudos