-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
cannot reproducecannot reproduce the error/bug/issuecannot reproduce the error/bug/issue
Description
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
- Create a Table (hosted) either by uploading a simple CSV file or via Content --> New item.
- 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cannot reproducecannot reproduce the error/bug/issuecannot reproduce the error/bug/issue