<?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 Snapshot API not working 404 in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418211#M3048</link>
    <description>&lt;P&gt;Hello there&lt;/P&gt;&lt;P&gt;I am trying to make a POST request using node to the snapshot API for the MV22 camera &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But i only manage to get a 404&lt;/P&gt;&lt;P&gt;This is the URL i am using&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.meraki.com/api/v0/networks/NETWORK/cameras/SERIAL/snapshot" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api.meraki.com/api/v0/networks/NETWORK/cameras/SERIAL/snapshot&lt;/A&gt;&lt;/P&gt;&lt;P&gt;```&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated, because i don't find the answer&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2019 20:41:02 GMT</pubDate>
    <dc:creator>Rafaetero</dc:creator>
    <dc:date>2019-04-24T20:41:02Z</dc:date>
    <item>
      <title>Snapshot API not working 404</title>
      <link>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418211#M3048</link>
      <description>&lt;P&gt;Hello there&lt;/P&gt;&lt;P&gt;I am trying to make a POST request using node to the snapshot API for the MV22 camera &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But i only manage to get a 404&lt;/P&gt;&lt;P&gt;This is the URL i am using&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.meraki.com/api/v0/networks/NETWORK/cameras/SERIAL/snapshot" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api.meraki.com/api/v0/networks/NETWORK/cameras/SERIAL/snapshot&lt;/A&gt;&lt;/P&gt;&lt;P&gt;```&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated, because i don't find the answer&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 20:41:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418211#M3048</guid>
      <dc:creator>Rafaetero</dc:creator>
      <dc:date>2019-04-24T20:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot API not working 404</title>
      <link>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418212#M3049</link>
      <description>&lt;P&gt;What are you calling it from?  Code? Postman?&lt;/P&gt;&lt;P&gt;Have you tried calling it using the specific shard url?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 20:45:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418212#M3049</guid>
      <dc:creator>BrechtSchamp</dc:creator>
      <dc:date>2019-04-24T20:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot API not working 404</title>
      <link>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418213#M3050</link>
      <description>&lt;P&gt;From code, which one is the shard url?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 20:53:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418213#M3050</guid>
      <dc:creator>Rafaetero</dc:creator>
      <dc:date>2019-04-24T20:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot API not working 404</title>
      <link>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418214#M3051</link>
      <description>&lt;P&gt;This sounds familiar...&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 20:57:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418214#M3051</guid>
      <dc:creator>jdsilva</dc:creator>
      <dc:date>2019-04-24T20:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot API not working 404</title>
      <link>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418215#M3052</link>
      <description>&lt;P&gt;It's a more specific one with a number.  See the note about "redirect" on this link :&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.meraki.com/zGeneral_Administration/Other_Topics/The_Cisco_Meraki_Dashboard_API" target="_self" rel="nofollow noopener noreferrer"&gt;https://documentation.meraki.com/zGeneral_Administration/Other_Topics/The_Cisco_Meraki_Dashboard_API&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 20:59:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418215#M3052</guid>
      <dc:creator>BrechtSchamp</dc:creator>
      <dc:date>2019-04-24T20:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot API not working 404</title>
      <link>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418216#M3053</link>
      <description>&lt;P&gt;OK, I remembered slightly wrong. This person was getting a 400, not a 404.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.meraki.com/t5/Solutions-APIs/Meraki-Camera-API-Snapshot/m-p/39903?advanced=false&amp;amp;collapse_discussion=true&amp;amp;filter=location&amp;amp;location=forum-board:api&amp;amp;q=mv%20snapshot%20api&amp;amp;search_type=thread" target="_blank"&gt;https://community.meraki.com/t5/Solutions-APIs/Meraki-Camera-API-Snapshot/m-p/39903?advanced=false&amp;amp;collapse_discussion=true&amp;amp;filter=location&amp;amp;location=forum-board:api&amp;amp;q=mv%20snapshot%20api&amp;amp;search_type=thread&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 21:01:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418216#M3053</guid>
      <dc:creator>jdsilva</dc:creator>
      <dc:date>2019-04-24T21:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot API not working 404</title>
      <link>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418217#M3054</link>
      <description>&lt;P&gt;Ok, after using the shard url it started returning a 400, so then I removed the content type application/json and it worked.&lt;BR /&gt;&lt;BR /&gt;This returns me the URL for the snapshot, after trying to make a GET request to this url it gives me a 404 error again. I don't find any documentation at all about how to get this snapshot or what headers does it expect&lt;/P&gt;&lt;P&gt;The problem seems to be that when you request a snapshot, this snapshot is not inmediately available, you have to wait 5 seconds before being able to download it through a GET request. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So what i did is to wait 5 seconds after requesting the snapshot, then fetching it, and it works&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To summarize:&lt;/P&gt;&lt;P&gt;- Request the snapshot to the Shard url&lt;/P&gt;&lt;P&gt;- Do not use content type, there is a bug&lt;/P&gt;&lt;P&gt;- Wait 5 seconds&lt;/P&gt;&lt;P&gt;- Download image&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 14:41:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418217#M3054</guid>
      <dc:creator>Rafaetero</dc:creator>
      <dc:date>2019-04-25T14:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot API not working 404</title>
      <link>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418218#M3055</link>
      <description>Thank you!!!&lt;BR /&gt;It would really be nice for this to be added in documentation somewhere.</description>
      <pubDate>Fri, 12 Jul 2019 02:58:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418218#M3055</guid>
      <dc:creator>Chase Gleason</dc:creator>
      <dc:date>2019-07-12T02:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot API not working 404</title>
      <link>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418219#M3056</link>
      <description>&lt;P&gt;Thanks for reporting back!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 07:11:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418219#M3056</guid>
      <dc:creator>BrechtSchamp</dc:creator>
      <dc:date>2019-07-12T07:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot API not working 404</title>
      <link>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418220#M3057</link>
      <description>&lt;P&gt;Hi folks, well, as of today, the API is currently returning a 404 when I perform a GET on the URL of the image returned in the JSON response from the Camera Snapshot API.&lt;/P&gt;&lt;P&gt;I waited much longer than  5 seconds to try to GET the image. The URL to the image was in the format of:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://spn3.meraki.com/stream/jpeg/snapshot/b9a47b53df1a68b9VHN2Q1NmNlZTYxO" target="_blank" rel="noopener nofollow noreferrer"&gt;https://spn3.meraki.com/stream/jpeg/snapshot/b9a47b53df1a68b9VHN2Q1NmNlZTYxO&lt;/A&gt;......&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 11:46:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418220#M3057</guid>
      <dc:creator>BruceHopkins</dc:creator>
      <dc:date>2019-09-05T11:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot API not working 404</title>
      <link>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418221#M3058</link>
      <description>&lt;P&gt;Not sending the content-type header is not a good idea. If you don't send it the post body is ignored, meaning the timestamp is ignored, so you get a snapshot from &lt;EM&gt;now &lt;/EM&gt;instead of the timestamp you send.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 18:27:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/snapshot-api-not-working-404/m-p/5418221#M3058</guid>
      <dc:creator>Linus2</dc:creator>
      <dc:date>2019-10-23T18:27:16Z</dc:date>
    </item>
  </channel>
</rss>

