node-google-play icon indicating copy to clipboard operation
node-google-play copied to clipboard

LoginError: Error=BadAuthentication

Open GoneTone opened this issue 5 years ago • 12 comments

It works fine in Node.js 8.x, but does not work in 12.x, 14.x, console returns "LoginError: Error = BadAuthentication", why?

I want to update my Discord Bot, discord.js v12 requires Node.js 12.x version, so I found this a problem.

Update: Node.js 8.x is not working anymore...

GoneTone avatar Apr 26 '20 11:04 GoneTone

I faced this error from today at node 8.9.4 any solution?

sharifStrudent avatar May 21 '20 15:05 sharifStrudent

same error even with node v8.x

honktang avatar May 22 '20 10:05 honktang

Remove sdk_version parameter: https://github.com/dweinstein/node-google-play/commit/d82c913d1bc0112510c5e7c7eadf2e16c993d11c

GoneTone avatar May 22 '20 12:05 GoneTone

Remove sdk_version parameter: d82c913

Not working even after removing sdk_version !

sharifStrudent avatar May 22 '20 14:05 sharifStrudent

But for me it work🤔

GoneTone avatar May 22 '20 14:05 GoneTone

I faced this error from today at node v8.11.3 any solution?

keyofd avatar May 25 '20 05:05 keyofd

Remove sdk_version parameter: d82c913

Doesn't work for me as well...

danik1058 avatar May 25 '20 19:05 danik1058

I just tested it, it does not work... WTF

GoneTone avatar May 26 '20 02:05 GoneTone

Same issue here, node 8.16.2.

MisteFr avatar May 28 '20 18:05 MisteFr

hey guys, please check this out:

In case of errors related to the authentication after the above steps, consider the following actions (visit the links while you are logged in with the account used to download the applications):

allow less secure apps to access your account (https://myaccount.google.com/lesssecureapps)

temporarily unlock access to your account (https://accounts.google.com/DisplayUnlockCaptcha)

For me it works, kudos - https://github.com/ClaudiuGeorgiu/PlaystoreDownloader

antonkrasov avatar Jan 09 '21 07:01 antonkrasov

I developed a library! https://github.com/GoneToneStudio/node-google-play-api

GoneTone avatar Jul 01 '21 09:07 GoneTone