laptop and a wrench

Erro

The item.delete_features function fails when ran synchronously for a hosted layer with sync enabled when the number of features is greater than 300,000.

ArcGIS API for Python
Número de ID do Erro BUG-000158295
EnviadoMay 13, 2023
Última ModificaçãoDecember 12, 2024
Aplica-se àArcGIS API for Python
Versão encontrada2.1.0
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusAs Designed

Informações Adicionais

This is expected with large deletes. When setting future=True, under the hood, the REST API process these large deletes more efficiently. The service closes the connection and produces the error codes, not the Python API.

Solução Provisória

Add the future=True parameter (as shown below) to delete the features with no errors.

item.delete_features(where='1=1', future=True)

Etapas para Reproduzir

ID do Erro: BUG-000158295

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