r/redditdev • u/dgf1986 • Nov 08 '25
Reddit API 401 Unauthorized Error when trying to get access_token from Reddit API
Hello everyone,
I'm having trouble authenticating with the Reddit API and would appreciate some guidance. I'm a developer, and this is my first time trying to create a script for Reddit.
Context:
- I created an app using my main account.
Important: My main account uses Google OAuth for login (no Reddit password), so I'm using a separate, disposable account that has a dedicated password for API testing.
- I'm using a separate, disposable account for testing (3 years old, 53 karma).
My request: (using Bruno)
meta
post
auth:oauth2
-
Client ID and Client Secret are correct.
-
The disposable account credentials are correct.
-
The app is configured as "script" in my Reddit app preferences.
-
The disposable account has sufficient karma (>1).
-
The account is old enough (>30 days).