How long does it take to clear the first billing charge for my google app engine app? - google-app-engine

I've made an app in order to send large mailings. Google enforces a 100 recipient a day maximum as I read on the quota page:
100 messages daily until first charge cleared; 20,000 messages per day thereafter
After deploying the app I've intentionally maxed out the 100 recipient limit, which adds a charge to my billing account of $0.01 This is also shown in my billing history.
However I've also set a weekly budget of $2.10 The one time charged associated with this budget has been made succesfully according to my Google Wallet. Looking at my current quota's it seems it's still limited to 100 even after waiting for 24 hours for my quota's to reset. Has anybody had the same problem? I don't know what to do next or how to interpret the "leave grace period" mentioned in my billing history.

If you were a new customer, you would have to wait one week, but you have already cleared a charge so you should be able to exceed the 100 user quota immediately. You may want to try to send mail and see if you get quota exceeded exceptions.
The "Leave Grace Period" messages mean that a charge previously failed putting you in the Grace Period. You then later successfully charged your credit card and left the Grace Period.
App Engine has announced that it will shortly be changing its billing system. So this answer will be outdated within a few weeks.

Related

Quota exceeded for quota metric 'Queries' and limit 'Queries per minute per user' of service 'gmail.googleapis.com'

Our application makes use of a service account that has been authorized for the entire domain by the admin. With this service account our application accesses the domain user's emails with Gmail APIs like GetMessage.
All of a sudden, starting this week, we have started receiving the errors intermittently
Quota exceeded for quota metric 'Queries' and limit 'Queries per minute per user' of service 'gmail.googleapis.com' for consumer 'project_number:XYZ
There is no change in our application or frequency at which we access emails. We are using batch size of 10 while using the API.
The 'Quota exceeded errors count (10 sec) - Queries per minute' graph in the GCP dashboard is empty. So we are really not sure what is going on and why we are suddenly hitting the quota limits.
Also, I am not sure how the 'per-user' limit is applied when my app accesses the user mailboxes with the service account. The documentation around this is vague, at least to me.
These errors are really impacting our ability to serve our customers. Moreover not knowing why we are getting these errors is shaking our confidence in the Gmail APIs.
Any help in this regard is highly appreciated.
Thanks
UPDATE:
Today we are seeing lots of
"User-rate limit exceeded. Retry after <timestamp>"
errors. Seems like this time around we are hitting some quota limit other than 'queries per minute'. While I look in my client implementation and figure out why this is happening, feel free to share any recommendations you may have.
Thanks.
Google analytics has limits and quotas on API requests. You can increase it. If you don't want to do it, daily quotas are refreshed at midnight Pacific Standard Time.

AppEngine application NOT responding even though well within quota limits with credit balance

If I have a credit balance in my Google AppEngine dashboard for a particular Open Data Kit Aggregate instance which is well within its quota limits, why am I getting this message??
"AppEngine Application Problem. A problem has occurred that prevents
your AppEngine application from responding. Your application may have
exceeded its per-minute or daily usage quotas. Please visit your
application dashboard at Google AppEngine. The Billing Status section
will indicate what daily or per-minute usage limits your application
has exceeded...If neither of those indicate any problems, then your application's Logs may; these are reachable from the dashboard via the Logs link on the left sidebar under the Main heading."
I have search the dashboard far and wide and don't see ANY red flags whatsoever relating to logs, or exceeding any quota limits. I added a new credit card and paid a $3 outstanding bill by making a payment for $20. Hence a $17 credit balance. About to give up.
One thing you should definitely do is go to SITE ADMIN -> PREFERENCES and tick "Disable faster background actions"
That is the only reason your quota should be finishing so fast.
Can you give us a screenshot of your logs, particularly datastore read operations, that is usually what spikes over the quota.
If you don't find any issues on your own, post a query on https://groups.google.com/d/forum/opendatakit. They are quite responsive, especially Mitch.

Google App Engine - Can't Update Budget

I have billing enabled on my project, and have even issued a $10 payment just to test out the process (it works). But I am unable to change my daily budget on the google app engine dashboard.
I go to "Billing Status" section.
I am entering the new daily budget and I hit the "submit" button.
I am getting the not very informative error: "There was an error processing the request".
So I'm stuck without being able to update my budget, and my quota has exceeded for instance hours. My users are receiving errors and I am losing money, without any option of reaching out to Official Google Support (tried to email support - it can take up to a couple of days for them to get back to you, and the phone number requires a PIN that only premium customers get. becoming a premium customer also takes a couple of days...).
Any suggestions?
I have already tried:
making sure I have only one Google account signed in while changing the budget
replacing payment method
adding another user as a billing admin and changing the budget with that user
Nothing seems to work.
UPDATE: After reaching out to a developer advocate from Google, I found out that they are aware of this issue. They claim to have solved it last night, and for me the bug is now solved.

Google App Engine Channel "Data Sent" daily quota for billing enabled app is 2GB. Is this correct?

According to the docs: https://developers.google.com/appengine/docs/quotas#Channel
The daily quota for billing enabled apps for sending data through the Channel API is capped at 2GB. Is this correct?
I think it's too small. If I had an app that sent data every 5 seconds (at 32KB per message) for an hour, I'd be over the quota in an hour with only 90 users. This 2GB volume cap for a cloud solution seems a bit too small.
Am I missing something?
I don't think it is correct. My billing enabled app shows this in the Quota Details:
Channel Data Sent 0% 0% 0.00 of 2,088.13 GBytes
You need to become a Premier customer by joining Silver, Gold, or Platinum support in order to ask for anything beyond the documented limits.
The quotas page says this:
Is your app exceeding the default limits? If you are a Premier customer, you can request additional quota bycontacting support.If you are not a Premier customer, you can apply for more Mail API quota orfile a feature requestfor any other quota increase.

Datastore & 30 second request limit

I'm writing an Appengine app: one of its duties is to email all the users every night (I know that I'll have to enable billing to email many users -- that's no problem).
I'm just worried about the 30-second request limit; if I have thousands of users and I have to mail them all a daily reminder, won't that limit be hit sometime soon?
Any ideas on how can I handle this problem? Or maybe Appengine isn't right for this type of application...? Thanks!
Use the task queue: each task emails N users (the number you determine you can safely email well within the 30 secs limit) and queues up another task to email the next N, and so on.
Brett Slatkin's video has more about the best ways to split up such "batch" tasks for the purpose of running them effectively on the app engine.

Resources