The error indicates that there is a problem with the JSON syntax in the arguments (kwargs) passed to the updateNetworkApplianceFirewallL3FirewallRules command.
The specific error is: Expecting property name enclosed in double quotes: line 3 column 5 (char 7)
This suggests that there is a problem with the double quotes somewhere in the JSON.
When examining the JSON provided, I noticed that there is a space before the { curly brace that begins the rules object. This may be causing the error.
Try removing the space before the { curly brace and see if the command works:
--kwargs "{ "rules": [{ "comment": "Block", "policy": "deny", "protocol": "any", "srcPort": "any", "srcCidr": "any", "destPort": "any", "destCidr": "<IP.ADDR>/32", "syslogEnabled": false }] }"
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.