Use ExportTileCacheTask catch a exception

2051
12
06-21-2017 05:35 AM
xiaoguangyan
New Contributor III

when I execute "await ExportTileCacheTask.CreateAsync(basemap.Source);" catch a Invalid response: Service does not support tile export. I use map in https://www.arcgis.com/home/group.html?owner=esri&title=Tiled%20Basemaps&start=11&q  for export also catch this exception

Tags (1)
0 Kudos
12 Replies
xiaoguangyan
New Contributor III

Hi, Antti

I change the username and password to mine and run, it will also catch the "Token Required" exception.

0 Kudos
AnttiKajanus1
Occasional Contributor III

Do you see credentials being created? If you check knownCredential does it have token assigned to it?

0 Kudos
AnttiKajanus1
Occasional Contributor III

Do you have any proxies or similar in the middle?

0 Kudos