<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: getNetworkClientsUsageHistories not working for multiple clients in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/getnetworkclientsusagehistories-not-working-for-multiple-clients/m-p/5405269#M1205</link>
    <description>&lt;P&gt;Thank you, I was using wrong URL in Postman!&lt;/P&gt;&lt;P&gt;However, I still get errors when using over 1000 client IDs in Python SDK, and 502 error in some cases. Those are for other questions, though.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 10:31:07 GMT</pubDate>
    <dc:creator>jadamczyk</dc:creator>
    <dc:date>2022-04-28T10:31:07Z</dc:date>
    <item>
      <title>getNetworkClientsUsageHistories not working for multiple clients</title>
      <link>https://community.cisco.com/t5/network-platform-api/getnetworkclientsusagehistories-not-working-for-multiple-clients/m-p/5405267#M1203</link>
      <description>&lt;P&gt;I have a single network, and I want to get client usage history for each client in that network. I first get all clients, and then usage history with endpoint &lt;A href="https://developer.cisco.com/meraki/api-latest/#!get-network-clients-usage-histories" target="_self" rel="nofollow noopener noreferrer"&gt;getNetworkClientsUsageHistories&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It works for single clients in both plain request (Postman) and Python SDK for Meraki Dashboard. However, it does not work for multiple clients and I get:&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;{
  "errors": [
    "Invalid client key"
  ]
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I tried `clientId1,clientId2` (e.g. `&lt;SPAN&gt;k000056,k00d6bd`)&lt;/SPAN&gt;, and `mac1,mac2`, both do not work and give the same result. Client keys work separately (both client ID and MAC), so this error makes no sense for me.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;What am I doing wrong?&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Apr 2022 11:57:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getnetworkclientsusagehistories-not-working-for-multiple-clients/m-p/5405267#M1203</guid>
      <dc:creator>jadamczyk</dc:creator>
      <dc:date>2022-04-27T11:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: getNetworkClientsUsageHistories not working for multiple clients</title>
      <link>https://community.cisco.com/t5/network-platform-api/getnetworkclientsusagehistories-not-working-for-multiple-clients/m-p/5405268#M1204</link>
      <description>&lt;P&gt;Just tried it and it worked like a charm. &lt;/P&gt;&lt;P&gt;&lt;A href="https://nxxx.meraki.com/api/v1/networks/{netID}/clients/usageHistories?clients=kxxxxx,kxxxxx" target="_blank" rel="nofollow noopener noreferrer"&gt;https://nxxx.meraki.com/api/v1/networks/{netID}/clients/usageHistories?clients=kxxxxx,kxxxxx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Output contained the 2 requested clients.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 12:06:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getnetworkclientsusagehistories-not-working-for-multiple-clients/m-p/5405268#M1204</guid>
      <dc:creator>Raphael_L</dc:creator>
      <dc:date>2022-04-27T12:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: getNetworkClientsUsageHistories not working for multiple clients</title>
      <link>https://community.cisco.com/t5/network-platform-api/getnetworkclientsusagehistories-not-working-for-multiple-clients/m-p/5405269#M1205</link>
      <description>&lt;P&gt;Thank you, I was using wrong URL in Postman!&lt;/P&gt;&lt;P&gt;However, I still get errors when using over 1000 client IDs in Python SDK, and 502 error in some cases. Those are for other questions, though.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 10:31:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getnetworkclientsusagehistories-not-working-for-multiple-clients/m-p/5405269#M1205</guid>
      <dc:creator>jadamczyk</dc:creator>
      <dc:date>2022-04-28T10:31:07Z</dc:date>
    </item>
  </channel>
</rss>

