Skip to content

Silent failure to push appscript.json with dependencies enabledAdvancedServices #1151

Open

Description

@scheib

Use of enabledAdvancedServices fails with clasp push. They do not function unless manually removed and re-entered using the script.google.com web interface. example failure would be using VertexAI:

{
  "dependencies": {
    "enabledAdvancedServices": [
      {
        "userSymbol": "VertexAI",
        "serviceId": "vertexai",
        "version": "v1"
      }
    ]
  }, 
  ...
}

Activity

  1. sqrrrl commented on Aug 20, 2026

    @sqrrrl
    Member

    Yeah, I don't think the management API auto-enables services in the manifest, only when added via the IDE. Bug/feature request for the apps script management API itself, can't really do much about it in clasp.

    That said, clasp has anenable-api command that you can use to enable the APIs for the script's project, though it only works if using a user-managed GCP project.

  2. added
    API support needed
    on Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    API support neededbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions