laptop and a wrench

Error

In ArcGIS API for Python, using the username and password parameters in the OAuth 2.0 authentication function returns the error: "UnboundLocalError: local variable 'oauth_info' referenced before assignment."

Última publicación: June 24, 2020 ArcGIS API for Python
Número de ID del error BUG-000127381
EnviadoDecember 13, 2019
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for Python
Versión encontrada1.7.0
Sistema operativoWindows OS
Versión de sistema operativo10.0
EstadoNon-Reproducible

Información adicional

This issue with authentication was fixed in the ArcGIS API for Python 1.8.0 release.

Solución alternativa

Manually use the workflow listed in the first cell of the documentation, User authentication with OAuth 2.0.

Pasos para reproducir

ID del error: BUG-000127381

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