Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Get "INVALID_ARGUMENT" error when deploying #3

Open
pcolmer opened this issue Sep 10, 2019 · 1 comment
Open

Get "INVALID_ARGUMENT" error when deploying #3

pcolmer opened this issue Sep 10, 2019 · 1 comment

Comments

@pcolmer
Copy link

pcolmer commented Sep 10, 2019

I've followed the steps in "How to use this" but when I run gcloud app deploy, I get asked which region I want, I get show the settings and asked to confirm them, the files get uploaded and the process ends with this message:

ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: The first service (module) you upload to a new application must be the 'default' service (module). Please upload a version of the 'default' service (module) before uploading a version for the 'gh-oauth' service (module). See the documentation for more information. Python: (https://developers.google.com/appengine/docs/python/modules/#Python_Uploading%%20modules) Java: (https://developers.google.com/appengine/docs/java/modules/#Java_Uploading%%20modules)

Have I missed something out? What do I need to do to fix this? Unfortunately, the link provided by the SDK doesn't seem to provide any helpful information.

@pmariot
Copy link

pmariot commented Nov 19, 2019

Hi, if this gcloud project does not yet have any app engine application running, it is enough to command out service: gh-oauth from the app.yaml. This will automatically create the app as the default.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants