This application does not exist (app_id=xxx)

前端 未结 13 996
感情败类
感情败类 2020-11-29 10:45

I was unable to upload to an AppEngine as appcfg was telling me :

This application does not exist (app_id=u\'xxx\').

<
相关标签:
13条回答
  • 2020-11-29 11:38

    This is really old, so I wouldn't be surprised if this isn't picked up by the poster, but I wanted to ensure that I have a reference for the next time I have the issue.

    I had this issue. My problem ended up being that I had not invited the user that I was authenticating as to be a developer on the project. In fact I had just created the user and not even logged on yet.

    I logged on to the google infrastructure as the new user, then added the new user as a developer on the application. I was then able to upload the app.

    0 讨论(0)
  • 2020-11-29 11:41

    The fix I found was to add the parameter --no_cookies:

    appcfg.py update --no_cookies MyProjectDirectory/
    

    This can happen when you upload AppEngine applications from different Google accounts on the same computer.

    0 讨论(0)
  • 2020-11-29 11:43

    I had this issue and I simply needed to run 'gcloud app create' for this project within the console console. Screenshot

    Previously I don't think this step was needed.

    0 讨论(0)
  • 2020-11-29 11:44

    The same problem occurs with the Java/Eclipse plugin version of App Engine. The 404 happens when you're logged in to the wrong Google account from within the plugin. In that case, look at the bottom-left of Eclipse to see what account you're currently using.

    Regarding the Python command line updater, if your cookies indicate that you're logged in to a Google account that doesn't have access to the application you're updating, then that would explain why ignoring those cookies by using "appcfg.py update --nocookies" fixes it.

    0 讨论(0)
  • 2020-11-29 11:45

    You have to log in in your gae account and create an application before you upload it, and your app_id has to have the same name as you app. You can't just upload it.

    So go here, create your app, for example "example_app" and set the app_id=example_app and everything should work :)

    0 讨论(0)
  • 2020-11-29 11:48
    appcfg.py --no_cookies --oauth2 --email=myemail --noauth_local_webserver  update .
    

    I navigated to my app engine directory folder and ran the above command. This deployed it successfully from the command line for me (Mac OSX terminal)--although I still couldn't deploy from app engine launcher. I believe Launcher still thinks I'm running off port 8080. However, running dev_appserver.py --port=11080 .doesn't fix this issue for me-- what ended up solving it was just removing the directory from the app engine launcher then just re-adding it.

    0 讨论(0)
提交回复
热议问题