10-04-2017 12:10 AM - edited 03-01-2019 03:43 AM
Hi,
We are trying to hit Meraki dashboard API endpoints using NodeJS and Python. For some API endpoints we get an error saying, ' No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.' Therefore, we are unable to use these API endpoints. We noticed this error in the following endpoints,
POST https://dashboard.meraki.com/api/v0/networks/[networkId]/devices/claim
PUT https://dashboard.meraki.com/api/v0/organizations/[organizationId]/networks
DEL https://dashboard.meraki.com/api/v0/networks/[id]
We are able to hit these endpoints successfully with Postman client/cURL. Only when we try to hit them from JavaScript/Python code, we get this error.
Please let me know how to resolve this.
Thanks in advance,
Ram
10-11-2017 05:37 PM
Ram,
If you are still experiencing the problem, try looking at an earlier post on this topic.
No 'Access-Control-Allow-Origin' on calls to apidemoeu.webex.com
10-13-2017 05:45 AM
Paula,
Thanks for your reply. But I'm afraid the information you provided doesn't help me resolve my issue.
--
Ram
01-15-2018 03:16 AM
Did you find a solution to this, i get the same errer trying to add a new admin
//Marius
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide