motioneye
motioneye copied to clipboard
Dropbox - Service error
Hello, i'm configuring dropbox backup and I'm getting after the key handshaking the following error
ERROR: dropbox: request failed: POST data should be bytes, an iterable of bytes, or a file object. It cannot be of type str.
I'm having the same issue on 0.43.1b1
I'm having the same issue on 0.43.1b2.
Changing body = json.dumps(body) to body = json.dumps(body).encode() in Dropbox#test_access (uploadservices.py) seems to fix it. The output on UI is "Accessing the upload service succeeded![object Object]".
Somewhat related: https://github.com/motioneye-project/motioneye/issues/2408