reddsaver
reddsaver copied to clipboard
error at launch: missing field `access_token`
App lauching with all env variables throw this error istantly.
Error: ReqwestError(reqwest::Error { kind: Decode, source: Error("missing field access_token", line: 1, column: 95) })
Runned of macOS, tried homebrew version and release 0.4.0
Getting this on Windows using Cargo and release 0.4.0. I noticed the reqwest version in the Cargo.lock is 0.10.10, which may be old.
I'm getting this too on MacOS homebrew release.
I'm getting this on Arch Linux.
See https://github.com/manojkarthick/reddsaver/issues/44, does your password have a dollar sign in it? If so, escape the dollar sign with a backslash.
Getting the same issue, no dollar sign in my password
edit: it seems the system username was conflicting with it. I must have missed it in the readme. Not sure if this is the same for anyone else.
I had the same error. As per instructions, you might need to unset the USERNAME env var.
Check it out by running:
reddsaver -e reddsaver.env -d reddsaver --show-config 2>&1 | grep -i USERNAME
If USERNAME = your computer's username and not your reddit's username, then there is a conflict.
In that case, you need to:
unset USERNAME