01-31-2024 06:01 AM
Hello,
The following error started popping up since yesterday when we try to create an organization network via dashboard api:
organizations, createOrganizationNetwork - 400 Bad Request, {'errors': ['Url failed to DNS resolve host name', "Hostname 'api.tnaas.tcsapps.com' has no public ip addresses"]}
Is there any ongoing incident with Meraki dashboard api ?
Thank you
01-31-2024 06:14 AM
Just tried the POST /organizations API endpoint and was able to create an org okay, might be worth opening a support ticket and providing some additional context. I can only imagine this error if you're creating a new org by cloning it perhaps.
01-31-2024 06:30 AM
Hello @ConnorL1 , thank's for your help
Here are the logs generated by Meraki package, I hope it's helpful.
As you can see, I'm trying to create an organization network from an existing one (/organizations/{organizationId}/networks). It had always worked without any problem, we didn't make any changes do our code.
{"asctime": "2024-01-31 14:04:17,213", "levelname": "INFO", "name": "meraki", "message": "Meraki dashboard API session initialized with these parameters: {'version': '1.25.0', 'api_key': '************************************2307', 'base_url': 'https://****.meraki.com/api/v1', 'single_request_timeout': 60, 'certificate_path': '', 'requests_proxy': '', 'wait_on_rate_limit': True, 'nginx_429_retry_wait_time': 60, 'action_batch_retry_wait_time': 60, 'retry_4xx_error': False, 'retry_4xx_error_wait_time': 60, 'maximum_retries': 6, 'simulate': False, 'be_geo_id': None, 'caller': None, 'use_iterator_for_get_pages': False}"}
{"asctime": "2024-01-31 14:04:17,713", "levelname": "DEBUG", "name": "meraki", "message": "", "tags": ["organizations", "configure", "networks"], "operation": "createOrganizationNetwork", "method": "POST", "url": "/organizations/******/networks", "json": {"timeZone": "Europe/Paris", "tags": ["EMEA", "*****", "Call_center"], "copyFromNetworkId": "********************", "name": "TEST_NAPP_NETWORK_EMEA", "productTypes": ["wireless", "switch"]}}
{"asctime": "2024-01-31 14:04:17,713", "levelname": "INFO", "name": "meraki", "message": "POST https://****.meraki.com/api/v1/organizations/******/networks"}
{"asctime": "2024-01-31 11:23:55,372", "levelname": "ERROR", "name": "meraki", "message": "organizations, createOrganizationNetwork - 400 Bad Request, {'errors': ['Url failed to DNS resolve host name', \"Hostname 'api.tnaas.tcsapps.com' has no public ip addresses\"]}"}
01-31-2024 08:02 AM
Mind dropping me a DM with a link to the source network? Curious where this "api.tnaas.tcsapps.com" is being referenced from.
01-31-2024 07:15 AM
What is api.tnaas.tcsapps.com ?
01-31-2024 07:26 AM
No idea, the response is coming from Meraki. From a quick search it belongs to "Tata Consultancy Services Limited" which belongs to Tata group.
01-31-2024 07:31 AM
There's no major outages showing on the status page https://status.meraki.net/
Might be a 'local' problem, you can either wait to see if it resolves or open a support case.
But in the logging info you post below, I see...
base_url': 'https://****.meraki.com/api/v1',
...normally the base |URL should be api.meraki.com/api/v1 if you are specifying something else that may be the problem.
01-31-2024 07:32 AM
What URL address is this?
api.tnaas.tcsapps.com
01-31-2024 10:55 AM
> failed to DNS resolve host name', "Hostname 'api.tnaas.tcsapps.com'
This is your issue. "api.tnaas.tcsapps.com" has nothing to do with Meraki.
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