Your script, Email Studio, has recently failed to finish successfully - email

I'm getting a daily email from apps-scripts-notifications#google.com stating that
Your script, Email Studio, has recently failed to finish successfully. A summary of the failure(s) is shown below. To configure the triggers for this script, or change your setting for receiving future failure notifications, click here.
I have no idea what this is, but it lists 24 errors (see below) every day. Any advice as to what the problem is, what I should do about it and how to stop the daily email alerts would be much appreciated.
Summary:
Error Message Count
Authorization is required to perform that action. 24
Start Function Error Message Trigger End
9/21/18 3:13 AM triggerEmailStudio Authorization is required to perform that action. time-based 9/21/18 3:13 AM
9/21/18 4:13 AM triggerEmailStudio Authorization is required to perform that action. time-based 9/21/18 4:13 AM
Etc etc...
Sincerely,
Google Apps Script

I had the same issue with specifically Email Studio. Going to https://www.google.com/script/start/, choosing Edit, and "All your triggers", allows you to delete the Email Studio trigger.

Related

logic Apps : What are possible reason that an new-email-trigger does not fire or failed?

The office365 trigger when new -email arrives (V3) is my logic Appp trigger condition.
The workflow does following:
Triggered on incomnig e-mails
check if sender is an AD User, if not send to a special Mailaddress
analyse the subject and put informations gother in new mailboydies and
distribute the mail to other mailboxes
I have seen a few cases I don' t understand, what it is the reason for that.
I got a trigger sicceeded but the trigger doe not fired Why?
image1: trigger History
image 2: not Fired Triggers
Screenshot shows succeeded triggers but not fired to start a run.
In this time spawn there was no email in the inbox.
I got a trigger failed ( i cannot reconstruct which mail could the reason).
image3: failed Trigger
for this case I can say nothing i found no e-mail at this time,
but it is possible that there was through Dectivation/Activation of logic app
old not readed mails ttries to trigger.
it was the first trigger after creation of this Logic app for testing
(copied from other subscription).
Can someone say me possible reasons for this 2 situations?
A status of skipped just indicates that the nothing new was found to fire the logic. Because the trigger will do check operation every once in a while even though the mailbox do not receive new email.
I think you do not need to worry about the records under "Trigger history". You just need to check the records under "Runs history". The records under "Runs history" can give a more intuitive picture of what's your logic app going on.

How to fix the quota problem of email wotj G Suite account?

I have some a script with trigger set up to send emails daily with GSuite account (about 10 triggers to send about 15 email in total per day, average 6 recipients/email.
However, last few days, I got the alert:
Exception: Service invoked too many times for one day: email
when running the script by trigger or by manually.
I do not think I hit the quota of sending email daily of Google. This morning, when I check the quota remaining by function MailApp.getRemainingDailyQuota(), I only get 4 email remaining. I do not know what happened.
Is there anyone could please help me to solve this problem?
This is the alert I receive:
Your script, AutomaticSendingEmail, has recently failed to finish
successfully. A summary of the failure(s) is shown below. To configure
the triggers for this script, or change your setting for receiving
future failure notifications, click here.
Start Function Error Message Trigger End
6/13/20 3:59 PM send_overtimerequest_email Exception: Service invoked too many times for one day: email. time-based 6/13/20 3:59 PM
Sincerely,
Looking at the page for Apps Script quotas it does specify that the limitations per day is counting recipient (100 recipient/day), so in this case you have no much option. Make sure that you are using the correct account because the limitation for G Suite accounts are 1500 recipient/day. Also check out if this may be applying to you right now:
Note: Newly created G Suite domains are subject to the consumer limit for the first billing cycle if they have six or more users, or several billing cycles if they have fewer users. For more information, see the Help Center page on sending limits.
A workaround that I would suggest is to have a service account and use Domain Wide Delegation to impersonate and user then make use of the Gmal API

Missing Authorization in Google form submission

I have google apps of form, when response save in spreadsheet, it activate a script to send an email to a user. After running 4 months, today I got an error message through script response:
Details:
Start Function Error Message Trigger End
11/10/16 10:49 AM formSubmitReply Authorization is required to perform that action. formSubmit 11/10/16 10:49 AM
I checked "Connected apps & sites" of "sign-in & security" of "My Account" in google. It registers 7 my apps but not the error apps.
So, I want to ask how I can activate the missing apps in authorization list.
Thanks in advance.
I had this one yesterday. I opened the faulty script in the script editor and executed it with the Run (play button) command. Don't forget to choose the function name in the drop down list on the right or it will be greyed out.
Then it asked for permissions, after granted everything was alright again.

failures for Google Apps Script

Your script, Copy of Send SMS - Techawakening.org, has recently failed to finish successfully. A summary of the failure(s) is shown below. To configure the triggers for this script, or change your setting for receiving future failure notifications, click here.
The script is used by the document Copy of Get Free SMS alerts for New Incoming Emails on Gmail - Techawakening.org.
Summary:
Error Message Count
Authorization is required to perform that action. 1024
I have received email like this
Do i have to authorize every time?
You have to (re-)authorize every time when you change the script. If you don't touch it, then the authorization will be saved and the set-up triggers run properly.

CRM Workflow and custom entity

I created a workflow for my custom entity which will notify me 2 weeks before the expiration date of my product.
I realised that not only the wait condition but even the "Send Email" not working.
When I am going to System Jobs show their status as "Waiting".
Any ideas guys?
Waiting status usually means your code is throwing an exception. Try to remote debug to the server.
This link might help too.