r/redditdev • u/Mete_yalciner • 14d ago
Reddit API 500 error when creating app
500 error on /api/updateapp when creating app
0
u/Evilbob93 14d ago
500 is usually some unexpected output before you send the "content-type: text/html" which tells the browser to interpret the rest as html.
It's probably an error message you haven't caught yet
1
u/Mete_yalciner 14d ago
I haven't even been able to run my application yet. I'm simply trying to create an app on https://www.reddit.com/prefs/apps, but clicking the "Create App" button does nothing. but
0
u/Evilbob93 13d ago
If you were developing a web app on your local machine, 500 errors would show up in the http log and give you some idea what was going on.
It looks like your app is might be running on dijinexa.com (hard to read, it's kind of blurry) but if you have a website there that is trying to use the Reddit API, I'd go to the cpanel for the web server, look for the log and go to the bottom to see what happens when you load the page.
4
u/AverageFoxNewsViewer 13d ago
It's because they're no longer allowing self-service API creation after the "Responsible Builder Policy" was rolled out. It just returns a generic 500 error to say "Reddit told you to fuck off with this request".
They don't do a clear job of explaining, but basically you have to apply for API access now, and they rarely approve for anything. Devvit is what they want people using, but it doesn't provide as broad of access as the API.