I'm using the python script from GitHub https://github.com/meraki/automation-scripts/blob/master/export_mx_l3.py and I'm receiving an output file that's just the headers and an error from the cmd prompt. I'm running this command with my API and Network ID python export_mx_l3.py -k <api_key> -n <net_id> and receiving this traceback. I've added a few notes to the file so the lines referenced will be different from the original code. I like to mess around with code, but I kind of suck at it, so if anyone knows what my mistake is I'd greatly appreciate the feedback.
HTTP Status Code: 404 - No returned data
Traceback (most recent call last):
File "export_mx_l3.py", line 87, in <module>
main(sys.argv[1:])
File "export_mx_l3.py", line 71, in main
for rule in fw_rules:
TypeError: 'NoneType' object is not iterable