KoenZomers/RingSnapshotDownload

[BUG] No devices found

afaq-khan opened this issue · 2 comments

Describe the bug
When running RingSnapshotDownload.exe with username, password and list parameters, the result is:

Connecting to Ring services
Authenticating using refresh token from previous session
Retrieving all devices... Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at KoenZomers.Ring.SnapshotDownload.Program.Main(String[] args)
at KoenZomers.Ring.SnapshotDownload.Program.

(String[] args)

Seems like await session.GetRingDevices(); is returning null instead of devices

The issue seems to be caused by the API:

Unexpected character encountered while parsing value: {. Path 'stickup_cams[0].motion_snooze', line 1, position 8408.

"motion_snooze": { "scheduled": true },

To Reproduce
Steps to reproduce the behavior:

  1. Run RingSnapshotDownload.exe -username xxx@xxx.xxx -password xxxxxx -list

Expected behavior
No error, snapshot downloaded

Screenshots
89105176-2222c480-d41f-11ea-9d3b-4953140adf38

Versions (please complete the following information):

  • OS: Windows 10 2004
  • RingSnapshotDownload: v1.0.2

Sorry haven't noticed your comment before. As this is already a long time ago, please let me know in case you're still struggling with this and want to get it to work and I can help you to troubleshoot it.

Closing as no further feedback has been received