- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Postman authorization for v1
Hi All,
Need your help.
I worked with API before, but never had such an issue with authorization.
I'm having the following error: 401 Authorization required
My actions:
Forked the 1.47 collection to my Postman.
Generated API key for organization.
Checked that API Access enabled for the Org.
Postman:
Keep the collection Authorization details intact.
Created "apiKey" variable in the environment.
Trying to run "getOrganizations" and it fails with the error.
I've checked the info here:
https://developer.cisco.com/meraki/api-v1/authorization/#authorization
Could anybody reveal the screenshot of the working postman Authorization please.
Kind regards,
Ritor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you.
Did the same - still error 401.
API key definitely correct.
No headers except default in the collection API call.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any chance when you copy and pasted the API key there is a leading or trailing space, or the first or last character dropped?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you definitely got the correct organization/network name for whatever you are testing? They are case-sensitive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found it.
Bloody web proxy. I forgot it is using auth before sending traffic to the internet.
Should've looked closely to the server reply first.
