AnsweredAssumed Answered

502 - Bad Gateway Error for content/features/generate API

Question asked by SushantSardeshpande on Aug 12, 2020

Hi,

 

Intermittently get a 502 - Bad Gateway error when using the sharing/rest/content/features/generate generate features API, have mostly had that when the network is fluctuating, thought that it might be due to the file not being uploaded / timing out.

 

Form Data Parameters:

publishParameters: {"name":"gridlayers shape files 10-23-2019","targetSR":{"wkid":102100,"latestWkid":3857},"maxRecordCount":50000,"enforceInputFileSizeLimit":true,"enforceOutputJsonSizeLimit":true,"generalize":true,"maxAllowableOffset":10.583354500041803,"reducePrecision":true,"numberOfDigitsAfterDecimal":0}

fileType:shapefile

f:json

file:[binary_data_shapefile_zip]

 

Any idea what cause there might be for this and if there's a way to increase the request timeout?

 

Thanks and Regards,

Sushant Sardeshpande

Outcomes