laptop and a wrench

Error

In the ArcGIS API for Python documentation, the returns section states that the expected return is a 'dictionary containing the layerServerGens and an array of edits.' However, a filepath is returned if the parameter return_ids_only=true.

Última publicación: January 31, 2022 ArcGIS Online
Número de ID del error BUG-000139327
EnviadoApril 23, 2021
Última modificaciónJune 5, 2024
Relacionado conArcGIS Online
Versión encontrada9.1
Sistema operativoWindows OS
Versión de sistema operativo10.0
Versión corregida2.0.1
EstadoFixed

Solución alternativa

Use a function to write the file contents back into the Python script:

import json

f = open(filepath, 'r')

for line in f:

  filecontent= line

f.close()

changedict = json.loads(filecontent)

Pasos para reproducir

ID del error: BUG-000139327

Software:

  • ArcGIS Online

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