You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using RTCClient, only for certain WorkItems, it is unable to fetch the attachments and it ends up with an error like below:
File "C:\1_Work\Tool\pyFile\main.py", line 10, in check_dou_tag
attachments = str(item.getAttachments())
File "C:\1_Work\Tool\pyFile\rtcclient_v2\workitem.py", line 919, in getAttachments
page_size="10"))
File "C:\1_Work\Tool\pyFile\rtcclient_v2\client.py", line 1428, in _get_paged_resources
filter_rule=filter_rule)
File "C:\1_Work\Tool\pyFile\rtcclient_v2\client.py", line 1497, in _handle_resource_entry
entry_archived = entry.get("rtc_cm:archived")
AttributeError: 'str' object has no attribute 'get'
But for many other WorkItems, the same code works.
Could you help here?
The text was updated successfully, but these errors were encountered:
Hello,
When using RTCClient, only for certain WorkItems, it is unable to fetch the attachments and it ends up with an error like below:
File "C:\1_Work\Tool\pyFile\main.py", line 10, in check_dou_tag
attachments = str(item.getAttachments())
File "C:\1_Work\Tool\pyFile\rtcclient_v2\workitem.py", line 919, in getAttachments
page_size="10"))
File "C:\1_Work\Tool\pyFile\rtcclient_v2\client.py", line 1428, in _get_paged_resources
filter_rule=filter_rule)
File "C:\1_Work\Tool\pyFile\rtcclient_v2\client.py", line 1497, in _handle_resource_entry
entry_archived = entry.get("rtc_cm:archived")
AttributeError: 'str' object has no attribute 'get'
But for many other WorkItems, the same code works.
Could you help here?
The text was updated successfully, but these errors were encountered: