motioneye icon indicating copy to clipboard operation
motioneye copied to clipboard

Dropbox - Service error

Open lucadjc opened this issue 2 years ago • 2 comments

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.

lucadjc avatar Sep 25 '23 20:09 lucadjc

I'm having the same issue on 0.43.1b1

guaycuru avatar Jan 18 '24 20:01 guaycuru

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

tapioko avatar Jul 25 '24 20:07 tapioko