danielfernau / unifi-protect-video-downloader

Tool for downloading footage from a local UniFi Protect system
https://ui-protect-dl-docs.danielfernau.com/
MIT License
477 stars 55 forks source link

Error on sync: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) #252

Open DrMarlin opened 1 year ago

DrMarlin commented 1 year ago

I'm experiencing the following error when I'm attempting to synchronize with my UNVR (Protect 2.7.9). I'd welcome any advice/guidance as I'm stumped. Thank you!

Here's my CMD: sync --address X.X.X.X --port 443 --username USERNAME --password PASSWORD /downloads

Log: `Getting camera list Successfully retrieved data from https://X.X.X.X:443/proxy/protect/api/cameras Cameras found:

danielfernau commented 1 year ago

Hi @DrMarlin - thanks for reporting. I'll have a look at it as soon as possible. Does this happen every time or just sometimes on your machine? Looks like either an invalid request/response or might be related to an API change with the new version...

DrMarlin commented 1 year ago

Every time now unfortunately. Thank you for investigating!