laptop and a wrench

Error

Attempts to update the '<Group>.protect()' property using ArcGIS API for Python fail with the error message, "KeyError Traceback(Most recent call last)… KeyError: 'protect'."

Última publicación: September 24, 2021 ArcGIS API for Python
Número de ID del error BUG-000118767
EnviadoDecember 11, 2018
Última modificaciónFebruary 7, 2025
Relacionado conArcGIS API for Python
Versión encontrada1.5
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

This is not a known issue. The correct way to use a property is to assign values to it and not call it like a function. For example, call the 'protect' property as `g.protect = True`.

Solución alternativa

Change the protection setting in ArcGIS Online.

Pasos para reproducir

ID del error: BUG-000118767

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