I'm getting a "access_token" after the curl command, but not a "refresh_token". I've gone through all the steps twice (deleted app between, created new app) and KOReader is not able to access my dropbox.
+++
end of crash.log from KOReader
Code:
ffi.findlib: freetype [6]
ffi.load: libs/libfreetype.so.6
ffi.findlib: harfbuzz [0]
ffi.load: libs/libharfbuzz.so.0
ffi.findlib: zstd [1]
ffi.load: libs/libzstd.so.1
01/17/25-11:23:50 INFO Looking for plugins in directory: plugins
01/17/25-11:23:58 WARN DropBoxApi: cannot get access token: HTTP/1.1 400 Bad Request
01/17/25-11:23:58 WARN DropBoxApi: error: {"error": "invalid_grant", "error_description": "refresh token is malformed"}
01/17/25-11:23:58 ERROR CloudStorage: nil
01/17/25-11:24:25 WARN DropBoxApi: cannot get access token: HTTP/1.1 400 Bad Request
01/17/25-11:24:25 WARN DropBoxApi: error: {"error": "invalid_grant", "error_description": "refresh token is malformed"}
01/17/25-11:24:25 ERROR CloudStorage: nil
01/17/25-11:26:43 WARN DropBoxApi: cannot get access token: HTTP/1.1 400 Bad Request
01/17/25-11:26:43 WARN DropBoxApi: error: {"error": "invalid_grant", "error_description": "refresh token is malformed"}
01/17/25-11:26:43 ERROR CloudStorage: nil
01/17/25-11:27:04 WARN DropBoxApi: cannot get access token: HTTP/1.1 400 Bad Request
01/17/25-11:27:04 WARN DropBoxApi: error: {"error": "invalid_grant", "error_description": "refresh token is malformed"}
01/17/25-11:27:04 ERROR CloudStorage: nil
01/17/25-11:30:12 WARN DropBoxApi: cannot get access token: HTTP/1.1 400 Bad Request
01/17/25-11:30:12 WARN DropBoxApi: error: {"error": "invalid_grant", "error_description": "refresh token is malformed"}
01/17/25-11:30:12 ERROR CloudStorage: nil
01/17/25-11:30:18 INFO Inhibiting user input
01/17/25-11:39:27 INFO Restoring user input handling
01/17/25-11:39:34 INFO UIManager: No dialogs left to show
01/17/25-11:39:34 INFO Tearing down UIManager with exit code: 0
[ko-input] Closed input device with fd: 10 @ idx: 1 (matched by idx)
[ko-input] Closed input device with fd: 9 @ idx: 0 (matched by idx)
lipc-wait-event exited normally with status: 0