Skip to content

OfflineContentManager export_items fails for "Table (hosted)" feature service #2456

@knoopum

Description

@knoopum

Describe the bug
When using OfflineContentManager's export_items method, it fails unexpectedly for a "Table (hosted)" feature service. (See error message below.)

To Reproduce

  1. Create a Table (hosted) either by uploading a simple CSV file or via Content --> New item.
  2. Attempting to make an offline backup of the item using export_items produces the following error:
C:\Users\knoop\AppData\Local\ESRI\conda\envs\work\Lib\site-packages\arcgis\apps\itemgraph\_migration.py:149: RuntimeWarning: Failed to export item b570d7c8577042d891d4eb09d348f331 due to error: <Table url:"https://services1.arcgis.com/4ezfu5dIwH83BUNL/arcgis/rest/services/OCM_export_items_csv/FeatureServer/0"> is not JSON serializable. Deleting folder and skipping...
  warnings.warn(

The above error message looks to have truncated prematurely as well.

Expected behavior
I expect export_items to be able to successfully export a "Table (hosted)" feature service.

Platform (please complete the following information):
Python API version 2.4.2

Metadata

Metadata

Assignees

Labels

cannot reproducecannot reproduce the error/bug/issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions