Topic: [Bug/Invalid] Several set API pages aren't working

Posted under Site Bug Reports & Feature Requests

Bug overview description.
The set API has been giving me trouble, queries that worked for months are suddenly giving errors.

What part(s) of the site page(s) are affected?

These broke in the past few days and I can't find a workaround:

These broke first (not sure when), but a workaround exists:

Can you reproduce the bug every time?
Yes

Updated

/set/create and /set/update are POST only endpoints and seem to expect the parameters to be sent using POST data instead of in the URL.

/set/add_post and /set/remove_post are also POST only endpoints and are trying to return an error to you, but they can't because there is no render template assigned for them in the manner that you've tried to call them in.

As none of this code has changed in months and months, I don't know what to tell you about them seeming to work before this point.

Updated by anonymous

Oof, I feel dumb. I was sending undefined in the post body when it should have been null. That worked for a long time but now some (not all) pages reject the requests.

Sorry for the false bug report.

Updated by anonymous

  • 1