Hi Pat,
Errors like this can sometimes occur if there are items in your pre-existing tree that are unexpectedly archived. I would use spy.search to look for any such items, particular items related to PM_SIM_AssetTree >> LAB >> PM_SIM_AssetTree >> REEL.
search_results = spy.search({'Path': 'PM_SIM_AssetTree'}, workbook=scopedtoid, include_archived=True)
search_results[search_results['Archived'] == True]
Another possibility is that you have an item in your tree with the same name as its parent asset. SPy Trees unfortunately does not support the handling of such items. If this is the case for you, then you can still proceed by using the spy.assets module, by reconstructing your tree from scratch using spy.assets.Tree, or by manually renaming any such items using the API reference page in Seeq.
If neither of these leads prove fruitful, I can assist further with the help of some more information about your current asset tree. Run the following code
search_results = spy.search({'Path': 'PM_SIM_AssetTree'}, workbook=scopedtoid, include_archived=True, all_properties=True)
search_results.to_csv('search_results.csv')
and share the resulting search_results.csv file in your next post, and I can take a deeper look.
Best,
Craig