Hi, I have a problem by using Clone_Items function.
I try to clone some layers from one portal to another, every other formats are totally working fine except hosted feature service, it keep giving me the error
Access to admin resources are not allowed\n(Error Code: 403)'
I can use python API to publish the feature service from my local to both portal, just failed with clone.
I'm admin in both portal. And I tried to make one to Publisher, still get the same error.
Dose anyone have the same problem?
Following an upgrade to 10.9.1 we are seeing this same error when cloning hosted feature layers through the python api.
I'm not having this exact same error message, but the message says something about unauthorized access even though I too am an administrator. It's only on some hosted feature services. I never had any issue with other item types.
Did you ever figure this one out? I really want to use clone_items, but I have run into about three edge cases where cloning hosted feature services chokes.