Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clasp claims it has pushed files even when Apps Script API is not enabled #973

Open
dandv opened this issue Aug 21, 2023 · 0 comments
Open

Comments

@dandv
Copy link
Contributor

dandv commented Aug 21, 2023

  1. Log in with a user who doesn't have the Google Apps Script API enabled
  2. Run clasp push

Notice that clasp returns an error,

code: 403,
  errors: [
    {
      message: 'User has not enabled the Apps Script API. Enable it by visiting https://script.google.com/home/usersettings then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.',
      domain: 'global',
      reason: 'forbidden'
    }
  ]

but it also claims to push all the files:

}
└─ /home/dandv/myaddon/appsscript.json
└─ /home/dandv/myaddon/Code.gs
└─ /home/dandv/myaddon/test.gs
Pushed 3 files.

Specifications

  • Node version (node -v): v18.16.1
  • Version (clasp -v): 2.4.2
  • OS (Mac/Linux/Windows): Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant