Using scripts in google tables, I work with google forms. Using my main account, which is located in the domain of the organization to which I belong, everything is fine. When I use the new Google account, then the script crashes with an error: "This operation is not supported." In the Google tab: "Security Check" on the second account, the application is indicated as made by "Unverified Developer".
An error occurs when trying to edit a form created by a script.
The code is called by a POST request with the parameters. Queries are allowed to anonymous users.
I tried to check the box to enable unverified applications.
How can I avoid the error with the second account?
Используя скрипты в гугл таблицах, я работаю с гугл формами. При использовании моего основного аккаунта который находится в домене организации к которой я отношусь - все хорошо. Когда я использую новый аккаунт гугл, тогда скрипт падает с ошибкой: "Эта операция не поддерживается". Во вкладке гугла: "Проверка безопасности" на втором аккаунте, приложение указанно как сделанное "Непроверенным разработчиком".
Ошибка возникает при попытке редактирования созданной скриптом формы.
Код вызывается POST запросом с JSON параметрами. Запросы разрешено делать анонимным пользователям.
Как я могу избежать появляющейся ошибки при использовании второго аккаунта?
var form = FormApp.create(NewForm.name);
form.setRequireLogin(false).setDestination(FormApp.DestinationType.SPREADSHEET, ss.getId()).setDescription(NewForm.description).setConfirmationMessage('Спасибо за ваши ответы!');