Error code (498) of arcgis-map-server handle in UI using arcgis JS API

05-18-2021 09:11 PM
New Contributor

Hi Team,

After token expire or siwtch-over to other arcgis server site,ArcGIS server is responding 498 error code, which we are unable to catch in UI side. Whenever the token get invalidate, the error response is not received in the UI whether it is mapServer or Geocode operation.

Could please someone suggest how to handle the invalid token in the client UI side.? If possible please share a sample code.


0 Kudos
0 Replies