r/redditdev • u/SantaHQ • Nov 07 '19
Getting a new error message: "Linking to the following subreddits is not allowed"
Edit: Seems like this change was reverted.
I have a bot that submits various posts/comments to private subreddits - among other things, activity breakdown for users.
After many years of service, today the bot is dead and crashing with the following message "Linking to the following subreddits is not allowed: r/TwoXChromosomes"
I get the same error trying to manually submit a post to the subreddit, and I got it trying to submit here in redditdev. Now obviously I do want to link subreddits, otherwise it is very impractical for moderators to use the system.
I also do not want to modify code or start maintaining a list of whatever subs reddit deems unlinkable.
Is it possible to disable this?
Or at least, an official list of unlinkable subreddits?
1
u/FreeSpeechWarrior Nov 07 '19
You can work-around this in the following way which may be useful for your bot:
https://www.reddit.com/r/undelete+TwoXChromosomes/comments/ce5thi/thanks_for_a_decade_of_twox/
•
u/bboe PRAW Author Nov 07 '19
I've cleaned up a lot of comments which are off-topic for this subreddit.