dweinstein/node-google-play

Error retrieving information from server. [DF-DFERH-01]

osmanraifgunes opened this issue · 1 comments

I get my apiUserAgent and downloadUserAgent by using package capture app.

But getting this error :

message:"Error retrieving information from server. [DF-DFERH-01]"
name:"RequestError"
statusCode:400

My config is like this :

var playapi = require('gpapi').GooglePlayAPI({
    username: 'xxxxxx@gmail.com',
    password: 'xxxxxxxx',
    androidId: '330xxE49xxxxxxx7',
    countryCode:'tr',
    language:'tr_TR',
    apiUserAgent: 'Android-Finsky/xxxxxxxxxxxxxxxxxxxxxxxxx (api=3,versionCode=xxxxxxx,sdk=19,device=t03g,hardware=xxxxx,product=xxxxxx,platformVersionRelease=4.4.2,model=xxxxxxx,buildId=xxxxxx,isWideScreen=0,supportedAbis=xxxxx-v7a;xxxxx)',
    downloadUserAgent: 'AndroidDownloadManager/4.4.2 (Linux; U; Android 4.4.2; GT-xxxxx Build/xxxx)',
});

And request is :

playapi.downloadInfo("com.opera.browser").then(
                  function (downloadResult, x, y, z, t) {
                      console.log(downloadResult)
                  }).catch(function (err) {
                  var a = 1;
              });

try latest release 4.3.2