New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rules.mod.reorder no longer working #1898
Comments
This issue is stale because it has been open for 20 days with no activity. Remove the Stale label or comment or this will be closed in 10 days. |
Is this issue still occurring? |
Hello. |
This issue is stale because it has been open for 20 days with no activity. Remove the Stale label or comment or this will be closed in 10 days. |
@LilSpazJoekp commenting because the bot wants to make this issue stale, not sure if there is more you need from me? |
Not at the moment no. I'll let you know if I need anything else! |
This issue is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 30 days. |
I looked into this. I was only able to reproduce when the new list did not contain all the rules or had extra rules. Reddit must have changed how they validate rules and now doesn't return error data when an invalid order is used. |
This issue is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 30 days. |
This issue is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 30 days. |
This issue was closed because it has been stale for 30 days with no activity. |
I have found the source of this issue. I redid my rules without commas, and it reordered perfectly. |
Thanks for the follow up. |
Describe the Bug
Attempting to reorder the rules of a subreddit tracebacks because the response is returning None.
Desired Result
It looks as though this line should return an iterative function:
response = self.subreddit_rules._reddit.post(API_PATH["reorder_subreddit_rules"], data=data)I've tried commenting out the lines that traceback to just see what response is, and response=None
Relevant Logs
Code to reproduce the bug
My code example does not include the
Reddit()
initialization to prevent credential leakage.Yes
This code has previously worked as intended.
No
Operating System/Environment
windows
Python Version
3.8
PRAW Version
7.6.0
Prawcore Version
2.3.0
Anything else?
No response
The text was updated successfully, but these errors were encountered: