In proxy.ashx, the exchangePortalTokenForServerToken method cannot be generated as a server-token. The log is as follows:
2021-03-04 09:17:41 Matching credentials found in configuration file. OAuth 2.0 mode: True2021-03-04 09:17:41 Service is secured by https://stoneyuan.maps.arcgis.com/sharing/rest/oauth2/: getting new token...2021-03-04 09:17:41 Sending POST request: https://stoneyuan.maps.arcgis.com/sharing/rest/oauth2/token?client_id=aqoFTzbFLLud4CWJ&client_secret=e6de572ff33d49c1a2149f8b9c4e7077&grant_type=client_credentials&f=json2021-03-04 09:17:42 Token obtained: Yb3IfVMV1f4j035iim3a5gsjVaWpBtNAg-tCIU1y-uqQNf1VorI9m1fqUdsqOhK_1ctBQIA_RQ8-cgTyODd3eQjl__6K0EgRA7rr4Ic7kzTbAz_tJVXe5zWPXhW5LrvPi60729TkS1L59GJ5PP2bOA..2021-03-04 09:17:42 Exchanging Portal token for Server-specific token for https://gzarcgis1061.cipplanner.net:6443/arcgis/rest/services...2021-03-04 09:17:42 Sending POST request: https://stoneyuan.maps.arcgis.com/sharing/rest/generateToken?token=Yb3IfVMV1f4j035iim3a5gsjVaWpBtNAg-tCIU1y-uqQNf1VorI9m1fqUdsqOhK_1ctBQIA_RQ8-cgTyODd3eQjl__6K0EgRA7rr4Ic7kzTbAz_tJVXe5zWPXhW5LrvPi60729TkS1L59GJ5PP2bOA..&serverUrl=https://gzarcgis1061.cipplanner.net:6443/arcgis/rest/services&f=json2021-03-04 09:17:42 Token obtained: ["Unable to generate token for this server"
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.