laptop and a wrench

Bogue

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

Dernière publication: June 24, 2020 ArcGIS API for Python
Numéro d’ID de bogue BUG-000127381
EnvoiDecember 13, 2019
Dernière modificationJune 5, 2024
S’applique àArcGIS API for Python
Version trouvée1.7.0
Système d’exploitationWindows OS
Version du système d’exploitation10.0
StatutNon-Reproducible

Informations supplémentaires

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

Solution de contournement

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

Étapes pour reproduire

ID de bogue: BUG-000127381

Logiciel:

  • ArcGIS API for Python

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