cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
382
Views
3
Helpful
1
Replies

Python Error Message in Meraki API Response Using Meraki API Atomic

brdly
Level 2
Level 2

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. 

1 Reply 1

@brdly That is certainly not the customer experience we wish to provide. Thank you for sharing this. The Workflows team will investigate to determine the root cause and hopefully prevent this from happening again.

Network Platform Team
Workflows - Technical Marketing Engineer