Topic: [Bug/Invalid] api login 500 error

Posted under Site Bug Reports & Feature Requests

This was a stupid mistake on my part i was mixing up password login and api key auth

Bug overview description.
Send request the following request

https://e621.net/<endpoint>?name=wolfgang_senizen&password_hash=***********************&_client=WG_e621_api_experiemnt%20(by%20wolfgang_senizen)

Get back a 500 internal server error with the following json

{"success":false,"reason":"Unexpected error (b6e48e3f398a2a7aeda8fdec0cd6a947)"}

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

What is the expected behavior?
A response with success and login?

What actual behavior is given instead?
Get back a 500 internal server error with the following json

{"success":false,"reason":"Unexpected error (b6e48e3f398a2a7aeda8fdec0cd6a947)"}

Time of incident (if applicable).
2019/10/10 18:38 UTC

Can you reproduce the bug every time?
yes

What steps did you take to replicate this bug?
send get request (from within browser, java-script)
jsonp, regular jquery .get or just enter the url and go there with browser as if it were a regular pageAll error'dErrors or other messages returned (if any).
Get back a 500 internal server error with the following json

{"success":false,"reason":"Unexpected error (b6e48e3f398a2a7aeda8fdec0cd6a947)"}

Updated

wolfgang_senizen said:

https://e621.net/user/login.json?name=wolfgang_senizen&password_hash=***********************&_client=WG_e621_api_experiemnt%20(by%20wolfgang_senizen)

Do the asterisks after password_hash= reflect the actual length of your API key?
Because mine has 32 alphanumeric characters, not 23.
(yes, you're probably smart enough to read https://e621.net/help/show/api but I wanted to ask just in case)

edit:

You're using:
name=
password_hash=

The API help says:
login=
password_hash=

Updated by anonymous

Munkelzahn said:
Do the asterisks after password_hash= reflect the actual length of your API key?
Because mine has 32 alphanumeric characters, not 23.
(yes, you're probably smart enough to read https://e621.net/help/show/api but I wanted to ask just in case)

edit:

You're using:
name=
password_hash=

The API help says:
login=
password_hash=

1) no i just spammed asterisks

2) damn it, (i mixed up the password login and api login) ok i switched it to login

Updated by anonymous

  • 1