9

I want to execute Google Apps Script from external Node.js App.

And I tried the following manual, Step3. https://developers.google.com/apps-script/api/how-tos/execute#step_3_configure_the_calling_application

According to 1-c "Choose Other when selecting the Application type", but there is not "other" selection in my select tab. like this image -> no "other"

Pleease let me know about how to choose "other" application type.

TheMaster
  • 45,448
  • 6
  • 62
  • 85
Sesame
  • 111
  • 1
  • 3
  • 1
    thanks for your answer, roma. but here is a statement means service account could not working! "The Apps Script API doesn't work with service accounts" :https://developers.google.com/apps-script/api/how-tos/execute – Sesame May 24 '20 at 12:58
  • 1
    Do >+ Create credentials> Help me choose – TheMaster May 24 '20 at 14:06
  • My bad. Never tried that. Thanks for notice. – roma May 24 '20 at 14:39
  • thanks, TheMaster. I tried and choose "Apps Script API" and "Other non UI (e.g. cron-job, daemon)". And then, it says "User data cannot be accessed from a platform without a UI because it requires user interaction for sign-in." So, can't i use "other" type OAuth for my node.js app without GUI? – Sesame May 25 '20 at 02:05
  • @Sesame No. Node should open the browser for first sign-in. Choose "other Ui(CLI- command line tool)" or "webserver(node.js)" – TheMaster May 25 '20 at 06:29
  • @TheMaster I got it! thank you so much. – Sesame May 25 '20 at 10:44

1 Answers1

14

It's called a "Desktop App" now.

TheMaster
  • 45,448
  • 6
  • 62
  • 85
joeyave
  • 316
  • 3
  • 11