I’m trying to do a bulk rename of Meraki APs in Postman. I have Postman set up with the following variables
And they work, so if I do any of the following, I get the expected output
GET {{baseUrl}}/organizations
GET {{baseUrl}}/organizations/:organizationId/networks
GET {{baseUrl}}/organizations/:organizationId/devices
GET {{baseUrl}}/networks/:networkId/devices
GET {{baseUrl}}/networks/:networkId/wireless/ssids/
I want to use runner, to enable me to do many AP renames automatically, so I created a CSV file called “name-change-data” with a header line and in this first instance, a single line relating to a single AP I want to test on (when this test works, I will add lines for all the APs I want to change)
The serial number in the file is the number seen in the Meraki Dashboard, so I know that is right, and the name is just a different string to what the AP is called at the moment.
I then create a collection called “Bulk Rename APs” that looks like this:
{{baseUrl}}/networks/{{networkId}}/devices/{{serial}}
the format of which was as specified in Solved: Rename AP with postman runner - The Meraki Community
Next, I set up the body section as follows:
{
“name”: “{{name}}”,
“serial”: “{{serial}}”
}
I then go to file>New Runner Tab, and get a window that asks me to “Drag a collection from the sidebar to run”, so I drag “Bulk Rename APs” in. It goes in with a lot of others, so I deselect all of them and reselect “Bulk Rename APs” only.
On the right of the page, I click “Select File” and select “name-change-data.csv” and then click the “run” button. I get an error notification telling me to look at the console, which has this:
What am I doing wrong, and why is github flagged?
All advice gratefully recieved!
Thanks
Roo