Error: received 401 HTTP response
Hey. I always get an error when I run the main.py. I assume that I specify something wrong in the .env file. Can someone help me there?
Error: prawcore.exceptions.ResponseException: received 401 HTTP response
my .env:

Your subreddit needs to just be "AskReddit" not the link
Same error :(
Ensure your username, password, token and clientid are correct.
Also uncomment theme
username and password are definitely correct. I copied the client id from the orange marked one and the secrets from the blue marked one. Can you give me an example when I can enter 1 to 1 at the "Theme" and "Subreddit"?

Do you have two factor authentication enabled on reddit?
No
OK - try
SUBREDDIT="askreddit"
and
THEME="light"
same error :(((
Hey! I had this problem earlier too. My issue was that there was an extra space in my secret or id, don't remember which one, that I didn't put there. I think it was copied over when I copied it, so just make sure that there isn't any extra white space, because that will cause a problem
Same error here! still no solution, I tried it with 2 different accounts and 2 different apps
Solved, I entered the ID manually and it worked !
.env file error. Make sure every field is correct and has no spaces
Solved, I entered the ID manually and it worked !
what do you mean by enter the id manually?
This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.
same error
incorrect authentication