googleplay-api icon indicating copy to clipboard operation
googleplay-api copied to clipboard

Error retrieving information from server. DF-DFERH-01

Open tantinhte opened this issue 5 years ago • 7 comments

I found the answer for android users by clearing the cache memory of google play apps. But I don't know how to handle this situation

tantinhte avatar Dec 25 '19 04:12 tantinhte

In my case, getting a new gsf_id and auth_sub_token was enough. That is, perform a new login with the email and password.

rscmendes avatar Jan 03 '20 11:01 rscmendes

Try logging into the account and click the button at https://accounts.google.com/b/0/DisplayUnlockCaptcha also you might want to enable "Less secure apps" (https://myaccount.google.com/lesssecureapps)

nis-spiir avatar Jan 22 '20 12:01 nis-spiir

@bluetrickpt how to get new gsf_id and auth_sub_token?

jr3074 avatar Jan 27 '20 07:01 jr3074

You should check the README.md. The first login you perform you use the email and password like so:

api = GooglePlayAPI(locale="en_US", timezone="UTC", device_codename="hero2lte")
api.login(email=mail, password=passwd)

After performing this login, the api object will have api.gsfId and api.authSubToken that you should store somewhere. So your next login should be something like:

api = GooglePlayAPI(locale="en_US", timezone="UTC", device_codename="hero2lte")
api.login(gsfId=gsfId, authSubToken=authSubToken)

Maybe I'll create a pull request soon to simplify this login.

rscmendes avatar Jan 27 '20 10:01 rscmendes

I get this when trying to download specific apps only, for example:

download = api.download('com.opt.toapp', expansion_files=True) # Fails with DF-DFERH-01
download = api.download('com.smarty.voomvoom', expansion_files=True) # Succeeds

Using the same gsfid and token, one app downloads fine, the other gives the aformentioned error @ /gpapi/googleplay.py", line 638, in download.

Both the unlock captcha and less secure apps set. Tested re-login with email and pass as well.

4knahs avatar Feb 17 '20 17:02 4knahs

@4knahs

I get this when trying to download specific apps only, for example:

download = api.download('com.opt.toapp', expansion_files=True) # Fails with DF-DFERH-01

I cannot find an app in the Google Play Store with this package - com.opt.toapp, Can you plz send a Google Play Store link here?

liorazi avatar Oct 27 '21 10:10 liorazi

@liorazi there are many other ones that causes the same issue that @4knahs described. an example: https://play.google.com/store/apps/details?id=com.axis.drawingdesk.v3

LosevMikhail avatar Nov 17 '21 09:11 LosevMikhail