1
votes

I want to download the code from google app engine. And I installed python, google engine sdk and executed this command

appcfg.py download_app -a ...

and I typed my mail address and password...

but it says

Error 403: --- You do not have permission to download this app version

What do you think is the problem? Please help me with this. I am stuck with this like all day but can't find the solution.

3
Check that you typed your email and password correctly. - Linuxios

3 Answers

1
votes

I encountered the same problem (Mac OS, running AppEngineLauncher). Noticed that no apps were running in GAEL.

Running one of the apps in GAEL (earlier version of the same one - could be a coincidence) seemed to make a difference - it started the download, but then halted.

Then I ran appcfg list_versions on that app, followed by download_app. That seemed to do the job - download continuing as I write this.

On a guess, appcfg got hazy about its security context. YMMV.

0
votes

Check:

Only the developer who uploaded the code and the application owner(s) can download it. If anyone other than these parties attempts to download the app, they'll see an error message like the following: Error 403

https://developers.google.com/appengine/docs/python/tools/uploadinganapp#Python_Downloading_source_code

or your app have set permanently prohibit code downloads. Check on page: https://appengine.google.com/deployment/codelock?app_id=your_app_id&to_forward=/permissions?app_id=your_app_id

0
votes

Adding flag --no_cookies worked for me.