-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting TypeError: object of type 'Response' has no len() #45
Comments
Me too getting the same error.... Please help regarding this error |
@Surbhi-sy @sandeepmuttineni222 Zscaler DevRel |
@willguibr, please find the required info below There are around 30 locations available. |
@sandeepmuttineni222 and @Surbhi-sy |
@willguibr, could you please provide me with the list of python packages and their version that are installed in your environment. so that i can match the same in my environment and analyze if there are any gaps. |
@Surbhi-sy As per the documentation here you must have the zscaler-sdk-python installed on your local machine prior to executing the collection. pip install -r requirements.txt |
Hello,
I am trying to fetch the locations management info from zscaler_ziacloud module in ansible.
But getting the below error while executing the playbook:
The full traceback is:
Traceback (most recent call last):
File "/tmp/ansible_zscaler.ziacloud.zia_location_management_info_payload_zlfipp5r/ansible_zscaler.ziacloud.zia_location_management_info_payload.zip/ansible_collections/zscaler/ziacloud/plugins/modules/zia_location_management_info.py", line 280, in main
File "/tmp/ansible_zscaler.ziacloud.zia_location_management_info_payload_zlfipp5r/ansible_zscaler.ziacloud.zia_location_management_info_payload.zip/ansible_collections/zscaler/ziacloud/plugins/modules/zia_location_management_info.py", line 268, in core
File "/usr/local/lib/python3.9/site-packages/zscaler/zia/locations.py", line 69, in list_locations
return BoxList(Iterator(self.rest, "locations", **kwargs))
File "box/box_list.py", line 51, in box.box_list.BoxList.init
File "/usr/local/lib/python3.9/site-packages/restfly/iterator.py", line 114, in next
return self.next() # noqa: PLE1102
File "/usr/local/lib/python3.9/site-packages/restfly/iterator.py", line 146, in next
if len(self.page) == 0:
TypeError: object of type 'Response' has no len()
"msg": "object of type 'Response' has no len()"
The text was updated successfully, but these errors were encountered: