laptop and a wrench

Bug

Fails to connect to ArcGIS portal using the ArcGIS API for Python GIS object due to malformed JSON, when OpenID Connect is configured.

ArcGIS Pro
Bug-ID-Nummer BUG-000170261
EingereichtAugust 26, 2024
Zuletzt geändertOctober 2, 2024
Gilt fürArcGIS Pro
Gefunden in Version3.3.1
BetriebssystemWindows Server
Betriebssystemversion2022
StatusKnown Limit

Zusätzliche Informationen

This form of authentication through the GIS object is not supported.

Workaround

Add 'use_gen_token=True' as an optional parameter to the GIS object. This can force the script to use the token-based authentication instead of OAuth: Refer to the Esri Community post Does disabling 'ArcGIS login' prevent Python from using built-in accounts?.

Schritte zur Reproduzierung

Bug-ID: BUG-000170261

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln