Skip to content
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

Failed to authenticate to Pixiv; Invalid grant_type parameter #168

Closed
ghost opened this issue May 2, 2021 · 2 comments
Closed

Failed to authenticate to Pixiv; Invalid grant_type parameter #168

ghost opened this issue May 2, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented May 2, 2021

Ever since updating my accounts username/password, I've been unable to authenticate to Pixiv with PixivPy.

I've tried changing my username a second time, shortening the password, and so on, but I'm still no longer able to authenticate no matter what I do.

I am certain the username and password being supplied are correct, but it is still returning this error:

May 02 01:32:48 taiga python[7700]: [2021-05-02 01:32:48] ERROR: [PIXIV] Failed to authenticate to Pixiv
May 02 01:32:48 taiga python[7700]: Traceback (most recent call last):
May 02 01:32:48 taiga python[7700]:   File "/home/saucenao/twitter-saucenao/twsaucenao/pixiv.py", line 33, in _login
May 02 01:32:48 taiga python[7700]:     self._pixiv.login(self.username, self._password)
May 02 01:32:48 taiga python[7700]:   File "/home/saucenao/twitter-saucenao/venv/lib/python3.7/site-packages/pixivpy3/api.py", line 75, in login
May 02 01:32:48 taiga python[7700]:     return self.auth(username=username, password=password)
May 02 01:32:48 taiga python[7700]:   File "/home/saucenao/twitter-saucenao/venv/lib/python3.7/site-packages/pixivpy3/api.py", line 116, in auth
May 02 01:32:48 taiga python[7700]:     header=r.headers, body=r.text)
May 02 01:32:48 taiga python[7700]: pixivpy3.utils.PixivError: [ERROR] auth() failed! check username and password.
May 02 01:32:48 taiga python[7700]: HTTP 400: {"has_error":true,"errors":{"system":{"message":"Invalid grant_type parameter or parameter missing","code":1508}},"error":"invalid_grant"}
@Xdynix
Copy link
Collaborator

Xdynix commented May 2, 2021

#158

@ghost
Copy link
Author

ghost commented May 2, 2021

Got it; updated and seems to be working now.

@ghost ghost closed this as completed May 2, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant