I have a simple cloning Notebook to clone items from one account to another. This has worked well for quite some time. Recently I noticed it will clone webmaps, hosted feature layers, and Survey123 forms, but will no longer clone Dashboards.
I am seeing this error:
TypeError: '>=' not supported between instances of 'str' and 'int'
After executing the clone_items() function:
#... connect to "source" and "target" AGOL accounts in prior steps
# Identify the item to clone
item = source.content.get("AGOL ITEM ID")
# Clone the item to the target account
cloned_items = target.content.clone_items(items=[item])
Here is a screenshot of the error message:

Any ideas as to why this is happening and/or potential work arounds?