Topic: [Bug/Invalid] "Unexpected error" when trying to create a favorite via API

Posted under Site Bug Reports & Feature Requests

This topic has been locked.

Bug overview description.
When attempting to create a favorite via the API, I'm getting an unexpected error Unexpected error (8efd13b4fab822bcfa8737d82e56226c).
...and now it seems to just be changing error codes each request.

What part(s) of the site page(s) are affected?
Creating favorites through the API. I'm not having an issue doing it on the site.

What is the expected behavior?
No error. c:

What actual behavior is given instead?
An error.

Time of incident (if applicable).
2:55PM 2016/12/14 UTC.

Can you reproduce the bug every time?
Yes. Though subsequent requests seem to produce different error codes.

What steps did you take to replicate this bug?
POST https://e621.net/favorite/create.json?id=1076928?&login=<username>&password_hash=<password hash>
(empty post body, putting ID in post body as form data also made no difference)

Errors or other messages returned (if any).
Just the original error code I mentioned earlier.

I hope this isn't just me stuffing something up. =\

Updated by KiraNoot

invalid input syntax for integer: "1076928?"

Note the extra ? at the end of the post id.

Updated by anonymous

  • 1