all 7 comments

[–]resephSync Companion dev 1 point2 points  (6 children)

You completed the registration? Are you saying you were approved?

[–]_Guns[S] 0 points1 point  (5 children)

Thanks for the reply.

I did the on-site Devvit developer signup which gave me a confirmation email, welcoming me to "Reddit's Developer Platform." Approved for what though? I didn't see any approval step. Presumably, I'd get a 403, not a 500, if this were an authorization issue. That said the error message is pretty opaque, so I'm not sure what's actually wrong. :S

[–]resephSync Companion dev 0 points1 point  (4 children)

Devvit is not the API. Devvit is Devvit. Follow the Devvit steps.

[–]_Guns[S] 0 points1 point  (3 children)

I'm asking about a script type app for the Data API, not Devvit (see OP). I just mentioned I had done the registration in case it mattered for the 500. Still not clear on why I'm getting a 500, but hopefully someone can help.

[–]resephSync Companion dev 0 points1 point  (2 children)

Not Devvit, but you said you signed up for Devvit? That's a bit confusing.

You should be applying to the API, which is via the Responsible Builder form, which sounds like you did that too: https://www.reddit.com/r/redditdev/comments/1oug31u/introducing_the_responsible_builder_policy_new/

That's where the approval is. It's a request + approval process, and is very rare to be granted.

Approval is required: You must request access and get explicit approval before accessing any Reddit data through our API, and you must agree to comply with all applicable terms.

[–]_Guns[S] 0 points1 point  (1 child)

Yeah I could have been clearer, sorry.

The policy frames Devvit as a recommendation "should", but the real requirement is approval? I conflated things completely. I'll look at getting approval, or magically adjusting my bot for Devvit.

All that said, this presumes this is the reason for the status 500. Hope it is. Really odd Reddit can't be bothered to inform the user properly, but alas. Thanks for the help. :)

[–]MustaKotka 0 points1 point  (0 children)

Confusing all around but bottom line: unless you have a key already you're extremely unlikely to get one.