google-api-nodejs-client
google-api-nodejs-client copied to clipboard
Requested entity was not found, while running Google Apps Script externally using node.js
Thanks for stopping by to ask us a question! Please make sure to include:
- What you're trying to do -> I'm running app script using nodejs. I have already authenticated it using oauth2 and provided relevant scopes as well. I have already deployed the script using deployment api.
- What code you've already tried ->
const runRes = await script.scripts.run({ scriptId: res.data.scriptId, requestBody: { function: 'setUpTrigger', }, });- Any error messages you're getting -> when running getting this : Requested entity was not found.
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Having same issue, any update on this?
I solved this by deploying the script as an "API Executable".