ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred.

IAM Permissions

image.png

app.yaml

截圖 2024-01-30 下午1.33.18.png

package.json

Xian_0-1706592872353.png

command(gcloud app deploy --verbosity=debug) 

截圖 2024-01-30 下午1.46.43.png

2 1 77
1 REPLY 1

Hello @Xian,

Welcome to the Google Cloud Community!

You can do the following troubleshooting options:

  1. Take a look at this sample app.yaml for App Engine. the urls should not be indented under the handlers section. To fix this, remove the indention under your handlers section.
  2. Check out the general settings for app.yaml. Try enclosing your operating system and runtime version in open and close parentheses.
    runtime_config:
        operating_system: "ubuntu22"
       
    runtime_version: "20"
  3. Take a look at this github issue. A workaround for this issue is to set:
    gcloud config set app/use_deprecated_preparation True
  4. If the above options don't work, you can contact Google Cloud Support to further look into your case. Hope it helps, thanks!