Postman and Meraki API - newer collections are not working - receive 404 results

bshoults82
Comes here often

Postman and Meraki API - newer collections are not working - receive 404 results

Update: Issue resolved, un-installed postman and updated the collections. 

 

 

I have been having difficulty running the newer API's released viaPostman. No matter how I try to execute using the newer collections it never returns anything. 

 

When I switch back to an older collection - it executes fine. Same Cisco API key, same global variables. 

 

I noticed that the OpenAPI standard changed some things. For example, when retrieving networks within an organization 

 

 

 Old API calls looked like this:

 

 

<a href="<a href="https://api.meraki.com/api/v0/organizations/[organizationId]/networks" target="_blank">https://api.meraki.com/api/v0/organizations/[organizationId]/networks</a>" target="_blank"><a href="https://api.meraki.com/api/v0/organizations/[organizationId]/networks</a" target="_blank">https://api.meraki.com/api/v0/organizations/[organizationId]/networks</a</a>>

 

 

 New API calls looked like this:

 

 

<a href="<a href="https://api.meraki.com/api/v0/organizations/:organizationId/networks?configTemplateId=" target="_blank">https://api.meraki.com/api/v0/organizations/:organizationId/networks?configTemplateId=</a>" target="_blank"><a href="https://api.meraki.com/api/v0/organizations/:organizationId/networks?configTemplateId=</a" target="_blank">https://api.meraki.com/api/v0/organizations/:organizationId/networks?configTemplateId=</a</a>>

 

 

 

The brackets vs the colon is the only obvious difference, yet when I execute the same commands in Postman one is successful while the other isn't. 

 

My problem is that while I like that the older API collections work, there are new things added that I want to utilize, but I cannot seem to get to work. What am I missing other than being dense? I'm not a developer, so any help would be great. 

 

I've also attached some screenshots. Newer collectionNewer collection

 

Older collectionOlder collection

 

5 Replies 5
G_ControlScan
Here to help

Watching for a response, curious as well.


@G_ControlScan wrote:

Watching for a response, curious as well.


In case you were still waiting for the response @G_ControlScan ...

 

@bshoults82 updated the initial post saying that he solved it by:


Update: Issue resolved, un-installed postman and updated the collections.

.


 

That did not work for me.  I am still getting 404 when attempting to run api's that I have run many times before with the older collection.

I am hurting for this as I need to roll out some updates.

 

@RichPekarsky  If you share the anonymized code I can try to help debug.

Thanks...the actual uninstall and reinstall worked once I figured out how to place the variables into the postman headers...

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.