programatically publish script as a webapp -


similar issue described here: google app script 1 shot authentication @andrew b. , @alexander ivanov

i unable write script publishes service webapp.

function inv(){   scriptapp.invalidateauth(); }  function adjustserviceaccess(){   var svc = scriptapp.getservice();   svc.enable(svc.restriction.all); } 

error message:

your 1 shot authorization state not valid

i have tried running inv() function first, still receiving error message. last step prior publishing script add-on store. thank in advance.

am having e same issue.the error seems stem svc.enable(svc.restriction.all). perspective,enable no longer working since 1 mth ago. hope some1 out there has solution.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -