Documentation: https://developer.cisco.com/meraki/api-latest/#!generate-device-camera-snapshot
Endpoint: /devices/{serial}/camera/generateSnapshot
I have been trying to build a flow around MQTT events and requesting snapshots.via the API.
What troubles me is that accessing the image at the location in the snapshot request's response has rather sporadic results. Sometimes there is an image, sometimes the response has an HTTP/40x or HTTP/50x response. Sometimes I get an image response, then requesting the URL again, one of the error responses.
I have never received an HTTP/429 (RateLimit) response and have been trawling the forums in an attempt to find anyone with similar experiences, but no luck as yet.
I'm trying to find out if it is a network issue from the camera or a Meraki network issue. Unfortunately, I'm only on the consumer side, so I don't know the specifics of installation and the network on-premises. In the video dashboard, I hardly notice any issues, which makes my experience more frustrating when trying to use the Snapshot API.
Update:
I am aware of trying to request the resource with a delay, and even with that, I observe the same sporadic behaviour.