NoMore201 / googleplay-api

Google Play Unofficial Python API
Other
410 stars 208 forks source link

Error retrieving information from server. DF-DFERH-01 #105

Open tantinhte opened 4 years ago

tantinhte commented 4 years ago

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

rscmendes commented 4 years ago

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.

nis-spiir commented 4 years ago

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)

jr3074 commented 4 years ago

@bluetrickpt how to get new gsf_id and auth_sub_token?

rscmendes commented 4 years ago

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.

4knahs commented 4 years ago

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.

liorazi commented 2 years ago

@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?

LosevMikhail commented 2 years ago

@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