I have found the solution, its work from me . 1st check your API key is working. by using below python temple. import requests url = "https://api.meraki.com/api/v1/organizations" payload = None headers = { "Content-Type": "application/json", "Accept": "application/json", "X-Cisco-Meraki-API-Key": "XXXXXXXXXXXXXXXXXXXXXXa0" } response = requests.request('GET', url, headers=headers, data = payload) print(response.text.encode('utf8')) If its working the API keys are fine . Step 2 Next login to meraki portal and second tab use this URL to get org ID https://api.meraki.com/api/v0/organizations Step 3 Now change the script and add org ID for which you want to take backup. meraki = MerakiSdkClient(os.getenv("x_cisco_meraki_api_key")) orgid="xxxxx9" # (At this place I have added the org ID. line number 209 hxxps://www.ifm.net.nz/cookbooks/meraki-backup.py in this script ) #get_org_id(meraki,args.orgName) I don't know why org ID was not retrieving in original script . Anyway. Thanks for building offline backup script @PhilipDAth
... View more