laptop and a wrench

Bogue

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
Numéro d’ID de bogue BUG-000170261
EnvoiAugust 26, 2024
Dernière modificationOctober 2, 2024
S’applique àArcGIS Pro
Version trouvée3.3.1
Système d’exploitationWindows Server
Version du système d’exploitation2022
StatutKnown Limit

Informations supplémentaires

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

Solution de contournement

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?.

Étapes pour reproduire

ID de bogue: BUG-000170261

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement