I just upgraded my desktop machine to ArcGIS Pro 3.4 from 3.3.x, and noticed a change to the FeatureSharingDraft class tags property. After updating my cloned python environment, I was getting an error in one of my python scripts on the last line in this snippet:
sharing_draft = mp.getWebLayerSharingDraft("HOSTING_SERVER", "FEATURE", sd_fs_name)
sharing_draft.summary = "my summary"
sharing_draft.tags = ["tag1", "tag2"]
sharing_draft.exportToSDDraft(sddraft)The error was: Error exporting SD Draft: 'list' object has no attribute '_validateParameters'
When Pro 3.3.x was installed this error did not occur. Turns out it was the tags property - it cannot be a list, it must be a string with tags separated by a comma or semi-colon. Its strange that this property was always specified in the documentation to be a string, but I was using a list without error.
Just posting this in case anyone else has a similar issue.