18 upvotes, 3 direct replies (showing 3)
View submission: Quarantined content will be unavailable through the API unless opted-in
This is really annoying that it's only returning `error: 404` and not something like `error: "quarantined"`.
And an endpoint to disable quarantine for that sub or globally could really, really help.
1: https://www.reddit.com/r/announcements.json?sort=hot&limit=100&jsonp=hi
2: https://www.reddit.com/r/kiketown.json?sort=hot&limit=100&jsonp=hi
Comment by DBrady at 05/08/2015 at 22:10 UTC
9 upvotes, 0 direct replies
Agreed. A separate error message is needed so some explanation can be given to the user on mobile clients.
Comment by lecherous_hump at 06/08/2015 at 07:06 UTC
2 upvotes, 1 direct replies
Damn, I didn't know regular json links (appending .json to any link on reddit.com) also qualified as API access. I actually just spent an hour writing a workaround to use that before I read this.
Comment by tdohz at 11/08/2015 at 20:47 UTC
1 upvotes, 1 direct replies
This is really annoying that it's only returning error: 404 and not something like error: "quarantined".
FYI, we now return a 403[1] instead of a 404. I know our error codes could be more informative; nothing to announce now but it's definitely on our radar.
1: https://www.reddit.com/live/ukaeu1ik4sw5/updates/d0760522-3f84-11e5-98ea-0e8ad82823eb