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
I appear to be getting a very similar error when attempting to perform a number of operations, I'm slightly able to bypass it by commenting line 74 in sophos_central_api_tenants.py but it doesn't work for all use cases, only a few.
File "C:\Users\krsecurity\Sophos\lib\site-packages\sophos_central_api_connector\sophos_central_api_tenants.py", line 74, in get_next_page
"page_url": item['apiHost']
KeyError: 'apiHost'
I get the above error when simply trying to run 'python sophos_central_main.py -a static -g alerts --days 1'.
I get similar errors when basically running any of the scripts, including --get tenants etc.
Any help at all?
Thanks
The text was updated successfully, but these errors were encountered:
I appear to be getting a very similar error when attempting to perform a number of operations, I'm slightly able to bypass it by commenting line 74 in sophos_central_api_tenants.py but it doesn't work for all use cases, only a few.
File "C:\Users\krsecurity\Sophos\lib\site-packages\sophos_central_api_connector\sophos_central_api_tenants.py", line 74, in get_next_page
"page_url": item['apiHost']
KeyError: 'apiHost'
I get the above error when simply trying to run 'python sophos_central_main.py -a static -g alerts --days 1'.
I get similar errors when basically running any of the scripts, including --get tenants etc.
Any help at all?
Thanks
The text was updated successfully, but these errors were encountered: