laptop and a wrench

Erro

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 Publicação: June 24, 2020 ArcGIS API for Python
Número de ID do Erro BUG-000127381
EnviadoDecember 13, 2019
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS API for Python
Versão encontrada1.7.0
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0
StatusNon-Reproducible

Informações Adicionais

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

Solução Provisória

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

Etapas para Reproduzir

ID do Erro: BUG-000127381

Software:

  • ArcGIS API for Python

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download