<?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 Template-programmer Deploy not working on DNAC in devnet lab in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/template-programmer-deploy-not-working-on-dnac-in-devnet-lab/m-p/3860008#M9222</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm DNC-C training module.&lt;/P&gt;&lt;P&gt;I'm doing&amp;nbsp;Template-programmer lab and the script &lt;SPAN class="s1"&gt;apply_template.py&amp;nbsp; is not working.&amp;nbsp; 500 server error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;I don't know what the version of DNA-C in devnet sandbox.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;(venv) MacBookPro:template-prg$ ./apply_template.py &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;File "./apply_template.py", line 45, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;deploy()&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;File "./apply_template.py", line 30, in deploy&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;response.raise_for_status()&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;File "/Users/logan/Workspace/devnet/dnav3-code/venv/lib/python3.7/site-packages/requests/models.py", line 940, in raise_for_status&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;raise HTTPError(http_error_msg, response=self)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;requests.exceptions.HTTPError: 500 Server Error: Server Error for url: &lt;A href="https://sandboxdnac.cisco.com:443/api/v1/template-programmer/template/deploy" target="_blank" rel="noopener"&gt;https://sandboxdnac.cisco.com:443/api/v1/template-programmer/template/deploy&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2019 10:59:33 GMT</pubDate>
    <dc:creator>LoganJinho</dc:creator>
    <dc:date>2019-05-21T10:59:33Z</dc:date>
    <item>
      <title>Template-programmer Deploy not working on DNAC in devnet lab</title>
      <link>https://community.cisco.com/t5/network-platform-api/template-programmer-deploy-not-working-on-dnac-in-devnet-lab/m-p/3860008#M9222</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm DNC-C training module.&lt;/P&gt;&lt;P&gt;I'm doing&amp;nbsp;Template-programmer lab and the script &lt;SPAN class="s1"&gt;apply_template.py&amp;nbsp; is not working.&amp;nbsp; 500 server error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;I don't know what the version of DNA-C in devnet sandbox.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;(venv) MacBookPro:template-prg$ ./apply_template.py &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;File "./apply_template.py", line 45, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;deploy()&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;File "./apply_template.py", line 30, in deploy&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;response.raise_for_status()&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;File "/Users/logan/Workspace/devnet/dnav3-code/venv/lib/python3.7/site-packages/requests/models.py", line 940, in raise_for_status&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;raise HTTPError(http_error_msg, response=self)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;requests.exceptions.HTTPError: 500 Server Error: Server Error for url: &lt;A href="https://sandboxdnac.cisco.com:443/api/v1/template-programmer/template/deploy" target="_blank" rel="noopener"&gt;https://sandboxdnac.cisco.com:443/api/v1/template-programmer/template/deploy&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 10:59:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/template-programmer-deploy-not-working-on-dnac-in-devnet-lab/m-p/3860008#M9222</guid>
      <dc:creator>LoganJinho</dc:creator>
      <dc:date>2019-05-21T10:59:33Z</dc:date>
    </item>
  </channel>
</rss>

