Open shatner opened 1 year ago
This may be of limited relevance now that access to reddit’s API is about to become restricted/expensive but I noticed today that if the user’s password in the .env file includes a dollar sign $ the script throws an error:
.env
$
Error: ReqwestError(reqwest::Error { kind: Decode, source: Error("missing field `access_token`", line: 1, column: 26) })
I just ran into this too. Looks like escaping the dollar sign with a backslash allowed the script to continue.
This may be of limited relevance now that access to reddit’s API is about to become restricted/expensive but I noticed today that if the user’s password in the
.env
file includes a dollar sign$
the script throws an error: