<?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: Unable to use API Key created - 404 Not Found in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447775#M7439</link>
    <description>&lt;P&gt;Hi &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/74"&gt;@BRUCE NEWTON&lt;/A&gt; and &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/340"&gt;@Philip D'Ath&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;API access is enabled from the Organization Settings.&lt;/P&gt;&lt;P&gt;I've also tried regenerating a new API key in Dashboard 2.&lt;/P&gt;&lt;P&gt;Both don't work, one throws 404 and the other 401! &lt;/P&gt;&lt;P&gt;Looking at the error codes it's due to invalid api key, but it's exactly the same as what is provided during creation.&lt;/P&gt;&lt;P&gt;Anything else you'd recommend to check? Bit of an odd one as I've been using the API for Dashboard one since a few months now.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Feb 2021 09:30:04 GMT</pubDate>
    <dc:creator>Craiegg</dc:creator>
    <dc:date>2021-02-09T09:30:04Z</dc:date>
    <item>
      <title>Unable to use API Key created - 404 Not Found</title>
      <link>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447772#M7436</link>
      <description>&lt;P&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;I work for an MSP and we currently have 2 dashboards for our clients : Dashboard 1 ( 50 + Orgs ) , Dashboard 2 ( 2 clients ). I have created the API keys for both clients atleast a week ago&lt;/P&gt;&lt;P&gt;For dashboard one, I was able to create and successfully use the API key without any issue.&lt;BR /&gt;&lt;BR /&gt;However with dashboard 2 , I have created the API key but I receive 404 error on using via Postman and even via the Python SDK.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have added the API key in postman as well as the Python dashboard call.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Craiegg_0-1612827807929.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/262433i0C3FC795AB23AC8E/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;&lt;P&gt;Would anyone have any suggestions as to what is going wrong here?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Craig.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 23:45:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447772#M7436</guid>
      <dc:creator>Craiegg</dc:creator>
      <dc:date>2021-02-08T23:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use API Key created - 404 Not Found</title>
      <link>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447773#M7437</link>
      <description>&lt;P&gt;If it is a different API key, try regenerating the second API key.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 02:04:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447773#M7437</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2021-02-09T02:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use API Key created - 404 Not Found</title>
      <link>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447774#M7438</link>
      <description>&lt;P&gt;Basic I know, but is the API access enabled under the Organization Settings?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 05:38:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447774#M7438</guid>
      <dc:creator>BRUCE NEWTON</dc:creator>
      <dc:date>2021-02-09T05:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use API Key created - 404 Not Found</title>
      <link>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447775#M7439</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/74"&gt;@BRUCE NEWTON&lt;/A&gt; and &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/340"&gt;@Philip D'Ath&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;API access is enabled from the Organization Settings.&lt;/P&gt;&lt;P&gt;I've also tried regenerating a new API key in Dashboard 2.&lt;/P&gt;&lt;P&gt;Both don't work, one throws 404 and the other 401! &lt;/P&gt;&lt;P&gt;Looking at the error codes it's due to invalid api key, but it's exactly the same as what is provided during creation.&lt;/P&gt;&lt;P&gt;Anything else you'd recommend to check? Bit of an odd one as I've been using the API for Dashboard one since a few months now.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 09:30:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447775#M7439</guid>
      <dc:creator>Craiegg</dc:creator>
      <dc:date>2021-02-09T09:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use API Key created - 404 Not Found</title>
      <link>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447776#M7440</link>
      <description>&lt;P&gt;Really scratching for ideas here. The API key is associated with a user, make sure that the user has the appropriate permissions to the organisations.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 09:59:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447776#M7440</guid>
      <dc:creator>BRUCE NEWTON</dc:creator>
      <dc:date>2021-02-09T09:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use API Key created - 404 Not Found</title>
      <link>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447777#M7441</link>
      <description>&lt;P&gt;Hey &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/74"&gt;@BRUCE NEWTON&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;The user has Full org access as shown below:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Craiegg_0-1612868921371.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/262436i5447CE58841B50ED/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;&lt;P&gt;&lt;BR /&gt;Another thing that I may have forgot to mention is Dashboard 1 is &lt;A href="https://n63.meraki.com" target="_blank" rel="noopener nofollow noreferrer"&gt;https://n63.meraki.com&lt;/A&gt; , while dashboard 2 is &lt;A href="https://n3.meraki.cn/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://n3.meraki.cn/ &lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Would that be causing a problem? I dont think this should cause any error though cause Im hitting the endpoint of &lt;SPAN&gt;&lt;A href="https://api.meraki.com/api/v0/organizations" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api.meraki.com/api/v0/organizations&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Additionally, here is a screengrab of my python script&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Craiegg_0-1612869299792.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/262438iA562A138CDE386B0/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 Feb 2021 11:13:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447777#M7441</guid>
      <dc:creator>Craiegg</dc:creator>
      <dc:date>2021-02-09T11:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use API Key created - 404 Not Found</title>
      <link>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447778#M7442</link>
      <description>&lt;P&gt;I’ve just spotted that one of your Dashboard’s appears to be in China (.cn), I betting this is the issue. The is a certain amount of separation between the Meraki organisations hosted in China and those hosted elsewhere in the world... for Dashboard 2, the China hosted organisations you need to use api.meraki.cn for the API endpoints.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 11:35:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447778#M7442</guid>
      <dc:creator>BRUCE NEWTON</dc:creator>
      <dc:date>2021-02-09T11:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use API Key created - 404 Not Found</title>
      <link>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447779#M7443</link>
      <description>&lt;P&gt;Hey &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/74"&gt;@BRUCE NEWTON&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Thanks for the suggestion, changing it to :&lt;A href="https://api.meraki.cn/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.cn/&lt;/A&gt; actually worked in postman! &lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Craiegg_0-1612871005626.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/262434i2811C93676794C71/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;&lt;P&gt;&lt;BR /&gt;For the second part of this, how do I get this working with the Python SDK, as that still throws me the 404 error? Would I have to use the Python Requests module in this case or are you aware of a workaround using the Python SDK?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 11:44:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447779#M7443</guid>
      <dc:creator>Craiegg</dc:creator>
      <dc:date>2021-02-09T11:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use API Key created - 404 Not Found</title>
      <link>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447780#M7444</link>
      <description>&lt;P&gt;Something like:&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;dashboard = meraki.DashboardAPI(
	api_key=MERAKI_API_KEY,
	base_url='https://api.meraki.cn/api/v1/',
	output_log=False,
	print_console=False
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Feb 2021 18:09:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447780#M7444</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2021-02-09T18:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use API Key created - 404 Not Found</title>
      <link>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447781#M7445</link>
      <description>&lt;P&gt;&lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/74"&gt;@BRUCE NEWTON&lt;/A&gt; &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/340"&gt;@Philip D'Ath&lt;/A&gt; ,&lt;BR /&gt;&lt;BR /&gt;Thanks alot for all the suggestions and help, I was successfully able to achieve what I needed to!&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 23:56:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/unable-to-use-api-key-created-404-not-found/m-p/5447781#M7445</guid>
      <dc:creator>Craiegg</dc:creator>
      <dc:date>2021-02-09T23:56:14Z</dc:date>
    </item>
  </channel>
</rss>

