cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2950
Views
5
Helpful
6
Replies

API integrations - unsupported base Uniform Resource Identifiers (URIs)

parkerfoster2
Frequent Visitor
Frequent Visitor

Anyone have insights? I've had a case open with Meraki for over a week and still no luck. I'm in the US, and got a message that some of our API integrations need to be updated.

Old API - https://nxxx.meraki.com

Supposed new API - https://api.meraki.com/api/v1/

Tried every variation of the above, still no luck.

I'm not versed in API's and such, just trying to get it working. Every time I paste what I thought would be the correct new URL, and test, it fails.

I've tried the following

https://api.meraki.com/api/v1/organizations/nxxx

https://api.meraki.com/api/v1/organizations/

https://api.meraki.com/api/v1/

https://api.meraki.com/

https://api.meraki.com

Anyone have any insights?

6 Replies 6

obrigg
Meraki Employee All-Star
Meraki Employee All-Star

Insights to what? Which script is making API calls to an unsupported URI, or how to update it?

aleabrahao
Meraki Community All-Star
Meraki Community All-Star

First, you'd need to verify which APIs you use and then check not only the initial URL, but also validate the corresponding API for the function you're using.

This would be a good place to start.

https://developer.cisco.com/meraki/api-v1/introduction/#meraki-products

I am not a Cisco employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

sungod
Level 11
Level 11

Your "Old API" is pointing at a specific shard nxxx, I don't think referencing a shard has ever been advocated as the base URI (other than as a workaround for some problems a while ago), it generally works, but it's not the proper way.

In most parts of the world, every API request should begin with the following base URI:

https://api.meraki.com/api/v1

...this has been the standard for many years now.

The recent change is that for organizations hosted in the following dashboards, you need to specify the respective base URI instead:

Dasboard/Country URI

Canadahttps://api.meraki.ca/api/v1
Chinahttps://api.meraki.cn/api/v1
Indiahttps://api.meraki.in/api/v1
United States FedRAMPhttps://api.gov-meraki.com/api/v1

What failure code(s) are you getting?

Hi All, so I was able to get it working. I replaces https://nxxx.meraki.com with https://api.meraki.com and it worked. I would have got this working sooner, but after the initial testing I realized my firewall rule (Palo Alto) was URL based and whereas I was permitting nxxx.meraki.com I was blocking the new link. BTW, the app I was working with was NetBrain. I have API integrations with NetBrain, ServiceNow, SolarWinds, StatSeeker.

obrigg
Meraki Employee All-Star
Meraki Employee All-Star

I'm glad to hear. Thanks for the update!

Philip D'Ath
Meraki Community All-Star
Meraki Community All-Star

Are you able to post the complete URL you are using, or show the code that is forming a full URL (make sure you don't show any API keys)?