laptop and a wrench

Error

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
Número de ID del error BUG-000170261
EnviadoAugust 26, 2024
Última modificaciónOctober 2, 2024
Relacionado conArcGIS Pro
Versión encontrada3.3.1
Sistema operativoWindows Server
Versión de sistema operativo2022
EstadoKnown Limit

Información adicional

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

Solución alternativa

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

Pasos para reproducir

ID del error: BUG-000170261

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga