bradysanders / gmail-delay-send

Automatically exported from code.google.com/p/gmail-delay-send
0 stars 0 forks source link

6 emails results in service invoked too many times for one day #166

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
=======================================
=== PLEASE READ BEFORE FILING ISSUE:
https://code.google.com/p/gmail-delay-send/wiki/GmailDelaySendDebugging_8
=======================================

What steps will reproduce the problem?
1. Setting up 6 emails to delay send (9 recipients total)
2. All set to send at the same time 
3.

What is the expected output? What do you see instead?
They don't send. Receive this error message over and over:

Error:Error: Gmail Delay Send failed to connect to one of the Google Services. 
This is OK if it happens infrequently, the script will run again in a few 
minutes. See here to avoid receiving these notifications: 
https://code.google.com/p/gmail-delay-send/wiki/GmailDelaySendOptions_8#Error_No
tifications. Function being called: function () { return 
GmailApp.getUserLabels(); } .Error message: Exception: Service invoked too many 
times for one day: gmail. --Stack: at Services (GmailDelaySendWeb):209 
(executeCommand) at Services (GmailDelaySendWeb):27 (cachedExecute) at Services 
(GmailDelaySendWeb):114 (serviceGetUserLabels) at Utils (GmailDelaySendWeb):216 
(userHasLabel) at Utils (GmailDelaySendWeb):148 (createLabels) at Main 
(GmailDelaySendWeb):16 (main) 

What version of the product are you using?
8

Please provide any additional information below.
settings were on 1 min intervals, changed to 5 minutes and still got the error 
message

Original issue reported on code.google.com by cship...@retirementplanology.com on 1 Jul 2014 at 1:35

GoogleCodeExporter commented 8 years ago
Hello,

Are you still receiving these messages? Do you have any other Google App 
Scripts that are running?

-Blair

Original comment by blairk...@gmail.com on 15 Jul 2014 at 3:08

GoogleCodeExporter commented 8 years ago
I'm not receiving them. It seems that if I just send one or two a day,
there's no problem. No other google app scripts that I know of! I'll be
more careful not to schedule a bunch at the very same time in the future.
Think that's all it was?

Courtenay V. Shipley, CRPS, AIF

Retirement Planology, Inc.
DC: 703-595-2829 | Nashville: 615-442-8325
www.retirementplanology.com
Twitter: @retplanology
Visit my Brightscope Advisor page here
<http://www.brightscope.com/financial-planning/advisor/355957/Courtenay-Shipley>

Original comment by cship...@retirementplanology.com on 15 Jul 2014 at 3:49

GoogleCodeExporter commented 8 years ago
Hello Courtenay,

The service invoked error message usually has more to do with trigger setting 
(eg. 1 minute, 5 minutes) than the actual number of emails that you're sending.

I would suggest, as you have already done, to switch the trigger to every 5 
minutes but not limit your email sending because of this.

The quota limits are enforced on a sliding 24 hour window, so you might have 
seen the errors continue for a day even after switching to 5 minute trigger.

Original comment by blairk...@gmail.com on 16 Jul 2014 at 3:19