laptop and a wrench

Erro

Running the users.search() method against an ArcGIS Enterprise 11.5 deployment to count users with the Viewer user type returns the error message "Error accessing: level".

ArcGIS API for Python
Número de ID do Erro BUG-000180531
EnviadoOctober 29, 2025
Última ModificaçãoDecember 21, 2025
Aplica-se àArcGIS API for Python
Versão encontrada2.4.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusKnown Limit

Informações Adicionais

A User object in the Python API depends on the properties returned from the portal. Filter out any users missing the desired properties. Some built-in accounts common across enterprises include: "esri_boundaries", "esri_demographics", "esri_livingatlas", "esri_nav", "esri_webstyles",

Solução Provisória

Include the following line in the script allows running it successfully against an ArcGIS Enterprise environment. This line filters users to include only those with the level property:

filtered_users = [user for user in users if 'level' in user]

Etapas para Reproduzir

ID do Erro: BUG-000180531

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