cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
50062
Views
1
Helpful
17
Replies

Postman returning 404 error

mmoss80
Level 4
Level 4

I jumped into Postman for the first time since February and all of my GET commands are returning 404 errors. To troubleshoot I ran previously good GET calls from history and even went to back to basics and did the getOrganizations request. I've used the base url of https//api.meraki.com/api/v0 and the shard for the dashboard in it's place. Not sure if this snip is enough to get an idea of the cause or not. I also reset my API thinking it was the error but the new one didn't help any.

image.png

1 Accepted Solution

Accepted Solutions

Hi,

Python is easy to get it...

import meraki
import apikey

api_key = apikey.Get_Api_Key("")
dashboard = meraki.DashboardAPI(api_key)
my_org = dashboard.organizations.getOrganizations()

for org in my_org:
org_id = org['id']
print(org)

View solution in original post

17 Replies 17

psteinbe
Level 3
Level 3

What version of the postman package are you using? Are you using the beta for v1?

Ambuj M
VIP
VIP

for most part I am not seeing any issue, which specific GET call are you making ?

image.png

-hope this helps-

As a test I was trying to pull the Org ID using the Meraki Dashboard API request they put out. The collection version is .10 released on April 1st, no beta version.

in your printshot, I don't see "content-type" header key and value

-hope this helps-

I only used what was in the template, I used the variables for what was requested but I don't recall using anything other than those variables

Edgar-VO
Level 3
Level 3

Hi there,

Here you have a snippet from my postman...

Simply fill in the API key and Content-Type at the headers and you are set to go.

image.png

@Edgar-VO I added Content-Type and application/json but no luck 😞 Same 404 error

Hi,

Try changing your url in https://api.meraki.com/api/v0/organizations/ The API key will redirect you to the proper organsation. Also removing all keys except for API and content type

Then you have the same postman as i have, and it should be working..... I think your problem lies in the URL

Ed

@Edgar-VO

No go

image.png

Hi,

I still see a lot of useless keys.....try removing them. Keep only API and Content type

That is for now the only difference i can see in my request

Sad thing is I'm using the ones Meraki put out. I'll try it shortly

Didn't work, but I noticed you have yours hidden. The little eye icon at the top will show them. What do you have for Query Params on the first tab if anything?

Try to use the free postman program

You can get it here :

https://www.postman.com/downloads/

Already using it, uninstalled and reinstalled even