- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
clientid - not working
Good Afternoon,
I've been trying for a long time to get endpoints with required 'clientid' path or query to work with absolutely no luck. I must be doing something horribly wrong!
I have a list of 'id' values in string format, separated by commas, in a list for client ids and network ids: (examples)
client_ids = ['13h23hu','3h283h823','32u3h2u3h']
network_ids = ['N_38382', 'L_38238273', 'N_3u2h3u2']
then I write a simple loop so it goes through each network id and client id to pull data:
meraki.exceptions.APIError: networks, getNetworkClient - 404 Not Found, {'errors': ['Client not found']}
Solved! Go to solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The loop you are using is looking for the list of clients in each of the networks defined, rather than a single network.
Does each of these clients actually exist in each of the three networks? If they exist in only one of the networks, then you would expect to get 404 not found answers for the networks the client is not in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The loop you are using is looking for the list of clients in each of the networks defined, rather than a single network.
Does each of these clients actually exist in each of the three networks? If they exist in only one of the networks, then you would expect to get 404 not found answers for the networks the client is not in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Phillip,
I adjusted my loop to:
