laptop and a wrench

不具合

Querying a secured server layer stored in ArcGIS Online fails with the Python API when authenticating with an application client ID.

ArcGIS API for Python
不具合 ID 番号 BUG-000142478
送信されましたAugust 25, 2021
最終更新日July 18, 2024
適用対象ArcGIS API for Python
見つかったバージョン1.8.5
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0
ステータスNon-Reproducible

参考情報

This issue is non-reproducible. If this issue occurs, reach out to Esri Support Services as additional information is needed for further investigation.

対処法

Use the token to generate a separate connection to GIS. Code to reproduce:

from arcgis import GIS

initialLogin_gis=GIS('https://arcgis.com',client_id='fBno9ebLMTP1VwIJ')

initToken=initialLogin_gis._con.token

gis = GIS(token=initToken,referer="https://www.arcgis.com")

item=gis.content.get('4c4e381d00e048918169a7a412dc5904')

item.layers[0].query()

再現の手順

不具合 ID: BUG-000142478

ソフトウェア:

  • ArcGIS API for Python

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動