You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a script to block communities that was working fine a while ago, but now it seems that the block_community request returns a status code of 400 with a reason of Bad Request. I've tried with various instances and what not, but all seem to have the same outcome.
The text was updated successfully, but these errors were encountered:
This issue should be fixed as of PR #18, see the PR for details. TL;DR, it looks like some API functions accept boolean values converted to strings, and others accept actual boolean values. Very strange.
Thinking out loud: going forward I'd like to implement some unit tests for API responses, nothing too intensive, just to make sure 200 responses are returned.
That should help us avoid bugs like this in the future!
I made a script to block communities that was working fine a while ago, but now it seems that the
block_community
request returns a status code of400
with a reason ofBad Request
. I've tried with various instances and what not, but all seem to have the same outcome.The text was updated successfully, but these errors were encountered: