laptop and a wrench

Error

"UnboundLocalError: local variable 'resp' referenced before assignment..." when Logging in to Portal for ArcGIS with the ArcGIS API for Python, when Extended Protection is on, in an IWA Environment.

Última publicación: February 24, 2020 ArcGIS API for Python
Número de ID del error BUG-000128804
EnviadoFebruary 19, 2020
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for Python
Versión encontrada1.7.1
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
Versión corregida2.0.0
EstadoFixed

Solución alternativa

  • There's a setting in the IIS where one can turn the extended protection on or off. When this is off, one is able to login to the portal using the ArcGIS API for Python.
  • Go to the portal's web adapter from IIS. Under the advanced settings of the Windows .Authentication. Turn "Extended Protection" Off (IIS > portal web adapter > double click Authentication > Windows Authentication).
  • Turning it off allows one to login, but we are not certain of the implications of the same.

Pasos para reproducir

ID del error: BUG-000128804

Software:

  • ArcGIS API for Python

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