dweinstein/node-google-play

Help!!!!!! LoginError

keyofd opened this issue · 13 comments

{ response:
{ debugId: 1,
headers:
{ 'content-type': 'text/plain; charset=utf-8',
'cache-control': 'no-cache, no-store, max-age=0, must-revalidate',
pragma: 'no-cache',
expires: 'Mon, 01 Jan 1990 00:00:00 GMT',
date: 'Thu, 29 Aug 2019 11:42:19 GMT',
'content-encoding': 'gzip',
'x-content-type-options': 'nosniff',
'x-frame-options': 'SAMEORIGIN',
'x-xss-protection': '1; mode=block',
server: 'GSE',
'alt-svc': 'quic=":443"; ma=2592000; v="46,43,39"',
connection: 'close',
'transfer-encoding': 'chunked' },
statusCode: 404,
body: 'Error=UNKNOWN_ERR' } }
{"message":"Error=UNKNOWN_ERR","name":"LoginError"}

I'm having the same issue. This started couple hours ago.
This looks wired as sometimes I got 404 errors. (Did they change the endpoint?)

Does anybody can still login and get a token?

We are also experiencing this problem

+1
Making the same request (login) using postman results in a BadAuthentication response.
Something has definitely changed. Either it's the url, the expected body or google public key.

hi guys, as a hotfix you can try commenting out this line
https://github.com/dweinstein/node-google-play/blob/master/lib/api.js#L126

@keyofd - thanks! yes this works. Just curious, but how did you find this solution? Did you randomly comment out parameters one by one?

@keyofd after commenting the line, the bulkDetails() doesn't throw any error anymore but the result is an empty array.

details() still seems to work though

It seems like sdk_version parameter should be a number, not a string.
You can change this line:

sdkVersion: '23',
to number and it should work. bulkDetails() works as well.

@orgoldfus Login is working after you change that but bulkDetails return ['null'] as the result for me.
If you use details(), versionCode & string won't be on the result too.
So I guess the API changed to get the versionCode & string?

@MisteFr weird. bulkDetails() works properly for me....

Well, that's weird, but seems like it works again (without any change)

Seems everything is working back for me too