<?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: Cannot create network through Meraki Python API in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/cannot-create-network-through-meraki-python-api/m-p/5452221#M8079</link>
    <description>&lt;P&gt;Hello hcoq,&lt;/P&gt;&lt;P&gt;Nice method you got there!&lt;/P&gt;&lt;P&gt;I believe you're running into an error here because the call is dashboard.organizations instead of dashboard.networks (Naturally because we are creating this network at the org level).&lt;/P&gt;&lt;P&gt;Here's a link to the API endpoint:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/#!create-organization-network" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!create-organization-network&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I may be getting ahead of myself here, but you may run into further errors because you seem to be inputting net_type and tags as strings but the expected input for this is a list. You can use the split() method to turn a string to a list.&lt;/P&gt;&lt;P&gt;Hope this helps, everything else looks great!&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jul 2021 10:01:39 GMT</pubDate>
    <dc:creator>AutomationDude</dc:creator>
    <dc:date>2021-07-06T10:01:39Z</dc:date>
    <item>
      <title>Cannot create network through Meraki Python API</title>
      <link>https://community.cisco.com/t5/network-platform-api/cannot-create-network-through-meraki-python-api/m-p/5452220#M8078</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I'm trying to create a network within my organization through the python API but I get this message and I cannot figure why is this method not recognized as it is in the documentation.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hcoq_0-1625559413851.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/262500i093AB6BE24F517D1/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;I have tried to update my pip installer, and upgrade the meraki library but no better results.&lt;/P&gt;&lt;P&gt;I am creating/updating organizations well with my code but I cannot create a Network, and that is a problem.&lt;/P&gt;&lt;P&gt;Here is my code for the creation of network :&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hcoq_1-1625559671209.png" style="width: 663px;"&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/262499iB4C62E53B7E293ED/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;Thanks in advance for your answers!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 08:22:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/cannot-create-network-through-meraki-python-api/m-p/5452220#M8078</guid>
      <dc:creator>hcoq</dc:creator>
      <dc:date>2021-07-06T08:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create network through Meraki Python API</title>
      <link>https://community.cisco.com/t5/network-platform-api/cannot-create-network-through-meraki-python-api/m-p/5452221#M8079</link>
      <description>&lt;P&gt;Hello hcoq,&lt;/P&gt;&lt;P&gt;Nice method you got there!&lt;/P&gt;&lt;P&gt;I believe you're running into an error here because the call is dashboard.organizations instead of dashboard.networks (Naturally because we are creating this network at the org level).&lt;/P&gt;&lt;P&gt;Here's a link to the API endpoint:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/#!create-organization-network" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!create-organization-network&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I may be getting ahead of myself here, but you may run into further errors because you seem to be inputting net_type and tags as strings but the expected input for this is a list. You can use the split() method to turn a string to a list.&lt;/P&gt;&lt;P&gt;Hope this helps, everything else looks great!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 10:01:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/cannot-create-network-through-meraki-python-api/m-p/5452221#M8079</guid>
      <dc:creator>AutomationDude</dc:creator>
      <dc:date>2021-07-06T10:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create network through Meraki Python API</title>
      <link>https://community.cisco.com/t5/network-platform-api/cannot-create-network-through-meraki-python-api/m-p/5452222#M8080</link>
      <description>&lt;P&gt;Thank you, that solves my problem! I have been consulting the older documentation so I think this is the main source of my problems. I did get that tags error so it's corrected all right now &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 10:06:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/cannot-create-network-through-meraki-python-api/m-p/5452222#M8080</guid>
      <dc:creator>hcoq</dc:creator>
      <dc:date>2021-07-06T10:06:41Z</dc:date>
    </item>
  </channel>
</rss>

