MuteHttpExceptions = true authentication failure

Using the Google Apps email settings API , the delegate is removed using the script below. If an error occurs, for example, to delete delegated delegates, the following message is returned:

Exception: request failed for return code 400. Truncated server response:

+6
source share
1 answer

This question was sent to Google Apps Script search tracker as ticket 3478 and was recognized as an error . The ticket remains open, but the following workaround has been proposed :

  • Denying access to the security settings of your Google account at www.google.com and to the source of Script applications (spreadsheet, etc.).

  • Change the oAuthServiceName parameter to something else.

  • Run the script

+1
source

Source: https://habr.com/ru/post/958910/


All Articles