My bad, I should have checked the raw content of my "downloaded" file. I'm getting a "400-Bad Request" response on the download. I'll investigate this a bit more.
I'm not new to APIs but currently working on my first tool for the Meraki API. And I'm running into an issue not directly connected to the API but to the download URL provided after making the request.
The response header is giving me a "Content-Length" value of 345. The image itself is way larger though.
I tried the typical python code lines with 'requests.get()', 'requests.get(stream=True)', reading chunks, urllib2, ... but nothing really works. And I don't actually want to overwrite the header in any way.
Does anyone ran into this issue and found a way to fix it?