gis = GIS('home')
owner = gis.properties.user.username
package = gis.content.add(item_properties=item_properties, data=os.path.join(os.path.dirname(gdb), slpk))
published_layer = package.publish()
I am getting errors when adding SLPK to gis.content. My SLPK is stored in the same folder as my designated GDB directory. I'd like to publish them to AGOL.
Error: Unable to publish. Check that editing capabilties are enabled on your service.