Hi Rasmus, When I edit your script and run it in my powershell on windows I am getting this error: PS C:\Python\Python310\Scripts> python .\GET-Org-DK.py 2022-09-09 08:12:35 meraki: INFO > Meraki dashboard API session initialized with these parameters: {'version': '1.24.0', 'api_key': '************************************fb59', 'base_url': 'https://api.meraki.com/api/v1', 'single_request_timeout': 60, 'certificate_path': '', 'requests_proxy': '', 'wait_on_rate_limit': True, 'nginx_429_retry_wait_time': 60, 'action_batch_retry_wait_time': 60, 'retry_4xx_error': False, 'retry_4xx_error_wait_time': 60, 'maximum_retries': 2, 'simulate': False, 'be_geo_id': None, 'caller': None, 'use_iterator_for_get_pages': False} 2022-09-09 08:12:35 meraki: INFO > GET https://api.meraki.com/api/v1/organizations/*********/networks 2022-09-09 08:12:35 meraki: INFO > organizations, getOrganizationNetworks; page 1 - 200 OK Traceback (most recent call last): File "C:\Python\Python310\Scripts\GET-Org-DK.py", line 22, in <module> main() File "C:\Python\Python310\Scripts\GET-Org-DK.py", line 19, in main do_stuff(site[id],site['name']) KeyError: <built-in function id> PS C:\Python\Python310\Scripts> Something in line 19 and 22. I am guessing your have made your script to run on mac? 🙂 But it should be the same for windows right?^:)
... View more