laptop and a wrench

Error

A feature collection item cannot be added to the ArcGIS Online content page using the ArcGIS API for Python gis.content.add() method.

Última publicación: September 21, 2021 ArcGIS API for Python
Número de ID del error BUG-000134041
EnviadoSeptember 22, 2020
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for Python
Versión encontrada1.8.1
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

The original code used to add the item has the text parameter formatted incorrectly. The correct code to add the item is: item = gis.content.add(item_properties = {"title": "random_test_3", "tags": "test,second_trial,item_from_df_csv_params", "snippet": "random_test_data item created with csv parameters", "description": "random_test_data item from csv with lat_long params", "text": json.dumps({"layers": [dict(fc.layer)], 'showLegend' : True}), "type": "Feature Collection", "typeKeywords": "Data, Feature Collection, Singlelayer"})

Pasos para reproducir

ID del error: BUG-000134041

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