<?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: Meraki GET API: Need help with 400 Bad Request Errors in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436456#M5807</link>
    <description>&lt;P&gt;Thank you for the detailed explanation.&lt;/P&gt;&lt;P&gt;However, on the UI, I tried the same path: [Network-wide] -&amp;gt; [Monitor] -&amp;gt; [Event log], and by default it is set to Access point -&amp;gt; Any , Event type include -&amp;gt; All, Client -&amp;gt; Any, etc. It does not throw any error even if there is no event log or something, but that isn't the same behavior while using the API. Not sure if I am checking the correct path on the UI.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jul 2024 05:54:37 GMT</pubDate>
    <dc:creator>Lalana</dc:creator>
    <dc:date>2024-07-09T05:54:37Z</dc:date>
    <item>
      <title>Meraki GET API: Need help with 400 Bad Request Errors</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436452#M5803</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Regarding the 400 Bad Request errors encountered while trying to perform GET operations on the following Meraki APIs:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;getNetworkPiiPiiKeys&lt;/STRONG&gt; - 400 Bad Request, {'errors': ['Please provide exactly one of username, email, mac, serial, imei, bluetoothMac']}&lt;BR /&gt;As per the documentation mentioned here - &lt;A href="https://developer.cisco.com/meraki/api-v1/get-network-pii-pii-keys/" target="_self" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-network-pii-pii-keys/&lt;/A&gt;, the only mandatory parameter is &lt;STRONG&gt;networkid&lt;/STRONG&gt;, which we are already passing. However, the command is returning an error, expecting additional query parameters. Is this expected behavior from the API, and is the documentation not up to date, or is this a bug on the API front?&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;getNetworkEvents&lt;/STRONG&gt; - 400 Bad Request, {'errors': ['productType is required']}&lt;BR /&gt;As per the documentation mentioned here -&lt;A href="http://%20https://developer.cisco.com/meraki/api-v1/get-network-events/" target="_self" rel="nofollow noopener noreferrer"&gt; https://developer.cisco.com/meraki/api-v1/get-network-events/&lt;/A&gt;, the only mandatory parameter is &lt;STRONG&gt;networkId&lt;/STRONG&gt;. However, the command is returning an error, stating that productType is required.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 08 Jul 2024 07:14:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436452#M5803</guid>
      <dc:creator>Lalana</dc:creator>
      <dc:date>2024-07-08T07:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki GET API: Need help with 400 Bad Request Errors</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436453#M5804</link>
      <description>&lt;P&gt;Hi, Lalena, for &lt;STRONG&gt;getNetworkEvents, &lt;/STRONG&gt;productType is indeed required if your &lt;SPAN&gt;network is configured with multiple device types. When you create a network there is a option to create one with multiple device types or a single device type. In the latter case, this option is not required, hence it doesn't have "required" (mandatory) flag in the documentation. I hope this helps!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 08:20:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436453#M5804</guid>
      <dc:creator>smarui</dc:creator>
      <dc:date>2024-07-08T08:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki GET API: Need help with 400 Bad Request Errors</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436454#M5805</link>
      <description>&lt;P&gt;Thank you. But isn't it supposed to fetch the network events for all the devices associated with that networkId in bulk instead of asking for producttype etc?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 12:27:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436454#M5805</guid>
      <dc:creator>Lalana</dc:creator>
      <dc:date>2024-07-08T12:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki GET API: Need help with 400 Bad Request Errors</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436455#M5806</link>
      <description>&lt;P&gt;Hi, Lalena, this API delivers parity with [Network-wide] - [Monitor] - [Event log] in Dashboard UI. Right next to "Event log" title in UI, you will see a pull-down menu to specify product Type ("for security appliance" etc). If you specify "for access points" as an example, then it will give all the wireless devices in the same network. In API, this operation corresponds to specifying productType. &lt;BR /&gt;&lt;BR /&gt;So it is supposed to fetch the network events for all the devices of "specified productTypes" with that networkId in bulk. &lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 14:18:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436455#M5806</guid>
      <dc:creator>smarui</dc:creator>
      <dc:date>2024-07-08T14:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki GET API: Need help with 400 Bad Request Errors</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436456#M5807</link>
      <description>&lt;P&gt;Thank you for the detailed explanation.&lt;/P&gt;&lt;P&gt;However, on the UI, I tried the same path: [Network-wide] -&amp;gt; [Monitor] -&amp;gt; [Event log], and by default it is set to Access point -&amp;gt; Any , Event type include -&amp;gt; All, Client -&amp;gt; Any, etc. It does not throw any error even if there is no event log or something, but that isn't the same behavior while using the API. Not sure if I am checking the correct path on the UI.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 05:54:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436456#M5807</guid>
      <dc:creator>Lalana</dc:creator>
      <dc:date>2024-07-09T05:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki GET API: Need help with 400 Bad Request Errors</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436457#M5808</link>
      <description>&lt;P&gt;The API is not Dashboard, do not assume that they work the same way.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 09:25:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436457#M5808</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2024-07-09T09:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki GET API: Need help with 400 Bad Request Errors</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436458#M5809</link>
      <description>&lt;P&gt;I was checking the comment that smarui mentioned.&lt;/P&gt;&lt;P&gt;Thank you all for the responses.&lt;/P&gt;&lt;P&gt;However, I believe that the API documentation should be updated to cover all scenarios and clearly mention the mandatory fields required to get the necessary information and make the API call successful. This would help avoid confusion.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 09:38:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436458#M5809</guid>
      <dc:creator>Lalana</dc:creator>
      <dc:date>2024-07-09T09:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki GET API: Need help with 400 Bad Request Errors</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436459#M5810</link>
      <description>&lt;P&gt;How would you represent it differently in the API documentation than it already is?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jimmyt234_0-1720518243805.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/263894iBD3B86EC177560A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 09:44:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436459#M5810</guid>
      <dc:creator>JamesT91</dc:creator>
      <dc:date>2024-07-09T09:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki GET API: Need help with 400 Bad Request Errors</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436460#M5811</link>
      <description>&lt;P&gt;If productType is mandatory for multiple devices, then it should be mentioned under the mandatory field for more clarity, I believe. Because that's where those who are new to Meraki API typically look first.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 09:59:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436460#M5811</guid>
      <dc:creator>Lalana</dc:creator>
      <dc:date>2024-07-09T09:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki GET API: Need help with 400 Bad Request Errors</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436461#M5812</link>
      <description>&lt;P&gt;Unfortunately, there are edge cases where networks don't have more than one product type (e.g. wireless only network). And in that case, the product type query parameter isn't required.&lt;/P&gt;&lt;P&gt;The documentation is correct and complete, but there are certain scenarios where the docs need to be read more carefully, like this one. In any case, it's best practice to fully read the docs for any operation you're using. I hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 17:16:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436461#M5812</guid>
      <dc:creator>John-on-API</dc:creator>
      <dc:date>2024-07-09T17:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki GET API: Need help with 400 Bad Request Errors</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436462#M5813</link>
      <description>&lt;P&gt;Re: &lt;STRONG&gt;getNetworkPiiPiiKeys&lt;/STRONG&gt;&lt;SPAN&gt; - 400 Bad Request, {'errors': ['Please provide exactly one of username, email, mac, serial, imei, bluetoothMac']}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This error message seems clear and actionable, so please let us know if following the error message's guidance doesn't work. I see that the descriptions of the query parameters do not explain that one of them is needed. The individual query params cannot be marked required, because not all of them are required (OASv3 is quite binary in that way). One way for this to be handled is for Meraki to update the description of the operation to include this guidance. Please work with Meraki Support to open a documentation fix case, so the relevant team can update the documentation to explain the necessary inputs.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 17:22:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436462#M5813</guid>
      <dc:creator>John-on-API</dc:creator>
      <dc:date>2024-07-09T17:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki GET API: Need help with 400 Bad Request Errors</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436463#M5814</link>
      <description>&lt;P&gt;Thanks for the response John.&lt;BR /&gt;The APIs I posted are just examples; there are hundreds of APIs that are failing for the customer organization, and we're trying to determine the reasons at the same time struggling to understand the reason. During such widespread failures, it can be challenging to read through the entire documentation unless the necessary information/mandatory fields are clearly listed in the mandatory fields section. This is just my perspective as a new user of Meraki and its API. Nevertheless, we are in the process of evaluating each API failure and will decide which ones require support tickets once we have reviewed all the failures.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 10:46:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436463#M5814</guid>
      <dc:creator>Lalana</dc:creator>
      <dc:date>2024-07-10T10:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki GET API: Need help with 400 Bad Request Errors</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436464#M5815</link>
      <description>&lt;P&gt;It sounds like there is something fundamental wrong.&lt;/P&gt;&lt;P&gt;We've used the API for many years across many organizations, whilst there are some calls that have issues, aside from transient errors which are to be expected, the Meraki API is pretty reliable.&lt;/P&gt;&lt;P&gt;I suggest explain what you mean by "&lt;SPAN&gt;hundreds of APIs that are failing &lt;/SPAN&gt;", which endpoints? which errors?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 10:53:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436464#M5815</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2024-07-10T10:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki GET API: Need help with 400 Bad Request Errors</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436465#M5816</link>
      <description>&lt;P&gt;Currently, we are trying to filter out the error messages—specifically 400 Bad Requests that contain keywords like "not support," "unsupported," "not enabled," and "This endpoint only supports," as well as 404 Not Found and 403 Forbidden errors, since these are expected. Our goal is to identify errors related to missing parameters and similar issues since the customer is concerned about them. Once we have that, I will post them here.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 11:20:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-get-api-need-help-with-400-bad-request-errors/m-p/5436465#M5816</guid>
      <dc:creator>Lalana</dc:creator>
      <dc:date>2024-07-10T11:20:24Z</dc:date>
    </item>
  </channel>
</rss>

