Hello,
Working on a Meraki Workflow that automatically updates switch port configuration if a provided client MAC address is found on it.
It was working initially, but suddenly I started getting this Python error when the Atomic "Meraki - Update Device Switch Port" is run.
"output": {
"error": {
"code": "400",
"message": "action execution errored for type python3.script err:code:400 message::Error: File \"<string>\", line 1, in <module> NameError: name 'finalJsonStr' is not defined. Did you mean: 'fixedJsonStr'?"
}Troubleshooting tried:
- Clearing browser cache and restarting the computer.
- Clearing all the optional inputs from the API atomic.
- Setting optional inputs in the API Atomic directly. I never tried statically setting the required inputs (serial id, port id).
- Exporting, deleting the workflow, and re-importing it.
What eventually fixed the issue was deleting the atomic from my workflow, grabbing a new, fresh copy from the atomics library, and setting it up again. No idea why that fixed it.
I've got exports of the broken workflow and the now working workflow if anyone wants to have a look.