<?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: SD-WAN Fileupload API Error in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/sd-wan-fileupload-api-error/m-p/5132571#M8697</link>
    <description>&lt;P&gt;Sadly the errors you get here are quite generic, which does not help when troubleshooting, the only thing i see is the trailing comma. From what i recall the&lt;SPAN&gt;&amp;nbsp;CSV file has to adhere strictly to the format expected by vManage,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;should be no extra spaces,&lt;/SPAN&gt;&lt;SPAN&gt; the delimiter should be a comma (",&lt;/SPAN&gt;&lt;SPAN&gt;"),&lt;/SPAN&gt;&lt;SPAN&gt; and the file should not contain a header row.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;curl --insecure -v \
  -F "file=@serial.csv" \
  -F "validity=valid" \
  -F "upload=true" \
  -b "JSESSIONID=xxxxxxxxxxx" \
  -H "X-XSRF-TOKEN:XXXXXX" \
  https://X.x.x.x/dataservice/system/device/vedge/upload&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;I did find this old threat, seems my memory isnt that bad!&amp;nbsp;&lt;A href="https://community.cisco.com/t5/controllers/upload-vedge-file-to-vmanage-validity-string-not-found-in/td-p/4951939" target="_blank"&gt;https://community.cisco.com/t5/controllers/upload-vedge-file-to-vmanage-validity-string-not-found-in/td-p/4951939&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2024 12:53:44 GMT</pubDate>
    <dc:creator>bigevilbeard</dc:creator>
    <dc:date>2024-06-17T12:53:44Z</dc:date>
    <item>
      <title>SD-WAN Fileupload API Error</title>
      <link>https://community.cisco.com/t5/network-platform-api/sd-wan-fileupload-api-error/m-p/5132512#M8696</link>
      <description>&lt;P&gt;I am trying to upload a edge list serial no file to the vManage server using the dataservice/system/device/fileupload&amp;nbsp; endpoint.&lt;/P&gt;
&lt;P&gt;vManage Server platform version is 20.6.3.1&lt;/P&gt;
&lt;P&gt;Below is the curl command used&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;curl --insecure -v -F "file=@serial.csv" -F "validity=valid" -F "upload=true" -b"JSESSIONID=xxxxxxxxxxx" -H "X-XSRF-TOKEN:XXXXXX" https://X.x.x.x/dataservice/system/device/fileupload&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I am getting below response. The response is not giving any details&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;{"error":{"type":"error","message":"File upload failed.","details":"Unknown error","code":"VELIST0001"}}&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Below is the contents of serial.csv&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FDO2133ABCD,C8200-1N-4T,01CED200,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea why this failing ?&lt;/P&gt;
&lt;P&gt;Anyone has sample on how we can upload to the vManage server the edge list ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 11:00:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/sd-wan-fileupload-api-error/m-p/5132512#M8696</guid>
      <dc:creator>prjoseph</dc:creator>
      <dc:date>2024-06-17T11:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: SD-WAN Fileupload API Error</title>
      <link>https://community.cisco.com/t5/network-platform-api/sd-wan-fileupload-api-error/m-p/5132571#M8697</link>
      <description>&lt;P&gt;Sadly the errors you get here are quite generic, which does not help when troubleshooting, the only thing i see is the trailing comma. From what i recall the&lt;SPAN&gt;&amp;nbsp;CSV file has to adhere strictly to the format expected by vManage,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;should be no extra spaces,&lt;/SPAN&gt;&lt;SPAN&gt; the delimiter should be a comma (",&lt;/SPAN&gt;&lt;SPAN&gt;"),&lt;/SPAN&gt;&lt;SPAN&gt; and the file should not contain a header row.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;curl --insecure -v \
  -F "file=@serial.csv" \
  -F "validity=valid" \
  -F "upload=true" \
  -b "JSESSIONID=xxxxxxxxxxx" \
  -H "X-XSRF-TOKEN:XXXXXX" \
  https://X.x.x.x/dataservice/system/device/vedge/upload&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;I did find this old threat, seems my memory isnt that bad!&amp;nbsp;&lt;A href="https://community.cisco.com/t5/controllers/upload-vedge-file-to-vmanage-validity-string-not-found-in/td-p/4951939" target="_blank"&gt;https://community.cisco.com/t5/controllers/upload-vedge-file-to-vmanage-validity-string-not-found-in/td-p/4951939&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 12:53:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/sd-wan-fileupload-api-error/m-p/5132571#M8697</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-06-17T12:53:44Z</dc:date>
    </item>
  </channel>
</rss>

