Select to view content in your preferred language

Migration Error - 'Item' object has no attribute 'groups'

3250
1
03-24-2022 12:02 PM
Labels (2)
HaroldKrivell
Occasional Contributor

Good Afternoon,

I am trying to migrate one data item from one portal to another. The script works but I receive this error - 'Item' object has no attribute 'groups'. 

I tried multiple machines and checked the Source item's availability, and everything is functional. However, I receive the error at the scripts completion and the empty data item appears on the destination portal's account folder. Would anyone know how to fix this?

Note: This script worked previously a couple weeks ago.

0 Kudos
1 Reply
StefanUseldinger
Frequent Contributor

Same here with Enterprise 11.5, but no problems with Pro 3.5

I receive this error when working with items retrieved from gis.content.search(). If I work with gis.content.get(item_id), I can call for example item.sharing.groups.add() without any errors. 

0 Kudos