Select to view content in your preferred language

arcgis.gis Item.export() Not Working for Shared Update Group Manager (with Admin privs)

179
1
Jump to solution
a month ago
Labels (1)
mhaley_stone_env
Occasional Contributor

I am trying to export a content item as a File GDB via the API. I do not own the item, but I am a group manager for a Shared Update group, with which the item is shared. I have admin privileges in my organization, but obviously am not a member of the partnered organization that owns the item and is also in the Shared Update group. 

According to the note in the documentation: "Only the item owner or a user with an administrator role can run this method, unless a Location Tracking Service or Location Tracking View is used." I technically meet the second criteria and when I manually tested exporting from the item content page in AGO, it was successful with no errors.

Code snippet:

backup = prod_rdseg_item.export(prod_rdseg_item.title+"- BACKUP "+dt.strftime("%m%d%Y"),"File Geodatabase",
                       tags=["VTrans"],snippet="BACKUP COPY OF PCIP PROD SERVICES - CREATED "+dt.strftime("%m%d%Y"))

 

Here's the error I'm getting in my notebook:

mhaley_stone_env_0-1761239955055.png

 

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
mhaley_stone_env
Occasional Contributor

Fix was enabling Sync capabilities on the item.

View solution in original post

0 Kudos
1 Reply
mhaley_stone_env
Occasional Contributor

Fix was enabling Sync capabilities on the item.

0 Kudos