laptop and a wrench

Error

Records are missing in tables and feature classes when running the replicas.create command in ArcGIS API for Python.

Última publicación: June 3, 2021 ArcGIS API for Python
Número de ID del error BUG-000130078
EnviadoApril 10, 2020
Última modificaciónJune 28, 2025
Relacionado conArcGIS API for Python
Versión encontrada1.8
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
Versión corregida2.0.0
EstadoFixed

Solución alternativa

Option 1:

Within the Python API script, specify a layer queries argument for all layers in the replica:

  • Use <layer number>{"queryOption": "all", ""useGeometry": True, "where': "1=1"} for feature classes and <layer number>{"queryOption": "all", "where': "1=1"} for tables.
  • This is to force a query of all features and the records are not missing in the output.
  • Sample script attached 'Replica_workaround.'

Option 2:

Replicate the data in ArcGIS Online by creating a replica in the REST endpoint of the feature layer collection, or by using the Export Data function in the items details page of the feature layer collection.

In the REST endpoint:

  1. Click Create Replica at the bottom of the page.
  2. Give the replica an appropriate name.
  3. Enter the layer numbers of the replica.
  4. Change Sync Model to None.
  5. Change Target Type to Server.
  6. Change Data Format to FileGDB.
  7. Click Create Replica.

Pasos para reproducir

ID del error: BUG-000130078

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