06-30-2023 11:58 AM
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:
Solved! Go to Solution.
06-30-2023 05:40 PM
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.
06-30-2023 05:40 PM
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.
07-01-2023 02:30 PM
Hi Phillip,
I adjusted my loop to:
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