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
Post a Comment