The GroupTrunkGroupGetAvailableDetailListRequest command is returning a traceback.
File "C:\Users\user\Documents\PycharmProjects\Broadworks_OCIP_Sandbox\env\lib\site-packages\broadworks_ocip\base.py", line 90, in init
if len(value) > 0 and not isinstance(value[0], elem.type):
TypeError: isinstance() arg 2 must be a type or tuple of types
Traceback (most recent call last):
File "C:\Users\user\Documents\PycharmProjects\Broadworks_OCIP_Sandbox\main.py", line 37, in <module>
main()
File "C:\Users\user\Documents\PycharmProjects\Broadworks_OCIP_Sandbox\main.py", line 13, in main
service_provider_id="2172345621", group_id="2172341234")
File "C:\Users\user\Documents\PycharmProjects\Broadworks_OCIP_Sandbox\env\lib\site-packages\broadworks_ocip\api.py", line 388, in command
return self.receive_response()
File "C:\Users\user\Documents\PycharmProjects\Broadworks_OCIP_Sandbox\env\lib\site-packages\broadworks_ocip\api.py", line 259, in receive_response
return self.decode_xml(content)
File "C:\Users\user\Documents\PycharmProjects\Broadworks_OCIP_Sandbox\env\lib\site-packages\broadworks_ocip\api.py", line 288, in decode_xml
result = cls.build_from_etree_(api=self, element=element, extras=extras)
File "C:\Users\user\Documents\PycharmProjects\Broadworks_OCIP_Sandbox\env\lib\site-packages\broadworks_ocip\base.py", line 461, in build_from_etree_
return cls(**initialiser)
File "C:\Users\user\Documents\PycharmProjects\Broadworks_OCIP_Sandbox\env\lib\site-packages\broadworks_ocip\base.py", line 517, in __init__
super().__init__(**kwargs)
File "C:\Users\user\Documents\PycharmProjects\Broadworks_OCIP_Sandbox\env\lib\site-packages\broadworks_ocip\base.py", line 90, in __init__
if len(value) > 0 and not isinstance(value[0], elem.type):
TypeError: isinstance() arg 2 must be a type or tuple of types
Description
The GroupTrunkGroupGetAvailableDetailListRequest command is returning a traceback.
File "C:\Users\user\Documents\PycharmProjects\Broadworks_OCIP_Sandbox\env\lib\site-packages\broadworks_ocip\base.py", line 90, in init if len(value) > 0 and not isinstance(value[0], elem.type): TypeError: isinstance() arg 2 must be a type or tuple of types
What I Did
This is the xml body that was returned:
These are the variables from the debug just before the traceback occurs
Thanks