I have a Python script that is designed to take feature layers from ArcGIS Online and move them to Portal. All the inputs work fine until the last part where it attempts the copy. Here's a screen snip of the script and the output. The script is correctly identifying the feature to copy but then prints there was an error. I'm having trouble determining what is causing the feature not to copy.
Any help or advice is much appreciated!