getting 404 error
Failed to fetch port configurations for switch with serial ****-*****-****. Status code: 404
No port data available.
I know the key and other parameters are correct because I am able to fetch other information like Network IDs from Org
Any help is appreciated.
If I am making a simple call from postman, I am still getting 404 error
Don't post your serial numbers in posts.
I don't think that your endpoint is valid:
/api/v1/organizations/{org_id}/devices/{serial}/switchPorts
Try using one of these: https://developer.cisco.com/meraki/api-v1/search/?q=switchPorts or https://developer.cisco.com/meraki/api-v1/get-device-switch-ports/
You can also use the Meraki Python library to help with error handling.
I realized and fixed it earlier but I can't even get a simple GET from postman for that url. I get the same 404 error.
when I try other GET requests like for getting Network_ID it works fine.
never mind, syntax issue, thanks for the help.
Just to reiterate the above - please remove your serial number from the post.