AnsweredAssumed Answered

AttachmentManager download fails with Attribute Error

Question asked by don.morrison on Nov 11, 2019
Latest reply on Nov 12, 2019 by don.morrison

I'm getting an error *** AttributeError: 'list' object has no attribute 'to_dict' when I call arcgis.features.managers.AttachmentManager.download. I'm quite sure I have a valid attach manager object because I can list the attachments and add new attachments with no problem. I've tried all the combinations of input parameters I can think of with the same results, but no parameters as shown below should be valid.

 

import arcgis.features
tb_url = 'https://utility.arcgis.com/usrsvcs/servers/af1446382d3f441f859c305d15601085/rest/services/ROW_testing/UIC/FeatureServer/6'
tb = arcgis.features.Table(tb_url, gis=None)
att_mgr = tb.attachments
att_mgr.download()

Outcomes