Quota error even though quota is not exceeded

76 views
Skip to first unread message

Louise Elmose Hedegaard

unread,
Jan 6, 2017, 8:16:08 AM1/6/17
to Google App Engine
Hi,

I get this error "The API call datastore_v3.RunQuery() required more quota than is available. " which seems to mean that I have spent the daily free budget.
I have now enabled billing, but I still get the error above.
When I check the quota usage, it looks like the attached images - i.e. no quotas are exceeded.

Any advice?

Thanks,
-Louise

quota.PNG

George (Cloud Platform Support)

unread,
Jan 6, 2017, 10:24:09 AM1/6/17
to Google App Engine
Hello Louise, 

The provided screen capture indicates that you were checking quotas under IAM & Admin. The alert-related data is to be found under Billing → Budgets and Alerts. 

To check the actual quotas for the Datastore app operations, you should follow these steps: 

1) Navigate to appengine.google.com
2) In the left-side frame navigate to “app engine”.  
3) On the left hand side frame, you should see "quotas": click on that icon.  
4) You should be able to gather more fine-grained information on your Datastore access budget there.   

Please let us know if you find significant info this way. 

Louise Elmose Hedegaard

unread,
Jan 6, 2017, 12:33:34 PM1/6/17
to Google App Engine
Hi George,

Thank you for your reply.
The highest usage is 4% so it seems the problem is not related to quotas. And again, even if it was, I have enabled billing for the particular app.

Any other ideas?

Thanks,
-Louise
appEngineQuota.PNG

George (Cloud Platform Support)

unread,
Jan 6, 2017, 1:00:17 PM1/6/17
to google-a...@googlegroups.com
When did you enable billing? If it's 3 hours ago you might still have to wait a little: it may take up to a day to have the billing enabled. 

In the cloud console for your project “UltimateSync”, if you navigate to App Engine → Settings in the left side frame, you’ll notice that your daily limit appears still as “using the free quota”. 

Louise Elmose Hedegaard

unread,
Jan 6, 2017, 1:20:21 PM1/6/17
to Google App Engine
Ok I think I enabled it at about 5 hours ago.
I can see that I am still using the free quota as you say, but if I still have quota left, why is the Exception then thrown when people try to access my app?

com.google.apphosting.api.ApiProxy$OverQuotaException: The API call datastore_v3.RunQuery() required more quota than is available. at com.google.apphosting.utils.runtime.ApiProxyUtils.convertApiError(ApiProxyUtils.java:41) at com.google.apphosting.runtime.ApiProxyImpl$AsyncApiFuture.success(ApiProxyImpl.java:593) at com.google.apphosting.runtime.ApiProxyImpl$AsyncApiFuture.success(ApiProxyImpl.java:487) at com.google.apphosting.runtime.stubby.StubbyCallbackAdapter.success(StubbyCallbackAdapter.java:20) at com.google.net.rpc3.client.RpcStub$RpcCallbackDispatcher$1.runInContext(RpcStub.java:847) at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:461) at com.google.tracing.CurrentContext.runInContext(CurrentContext.java:276) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:320) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:312) at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:458) at com.google.net.rpc3.client.RpcStub$RpcCallbackDispatcher.runCallback(RpcStub.java:885) at com.google.net.rpc3.client.RpcStub$RpcCallbackDispatcher.rpcFinished(RpcStub.java:895) at com.google.net.rpc3.client.RpcStub$RpcCallbackDispatcher.success(RpcStub.java:874) at com.google.net.rpc3.impl.client.RpcClientInternalContext.runCallbacks(RpcClientInternalContext.java:1243) at com.google.net.rpc3.impl.client.RpcClientInternalContext.finishRpcAndNotifyApp(RpcClientInternalContext.java:1140) at com.google.net.rpc3.impl.client.RpcNetChannel.afterFinishingActiveRpc(RpcNetChannel.java:1676) at com.google.net.rpc3.impl.client.RpcNetChannel.finishRpc(RpcNetChannel.java:1491) at com.google.net.rpc3.impl.client.RpcNetChannel.handleResponse(RpcNetChannel.java:3306) at com.google.net.rpc3.impl.client.RpcNetChannel.messageReceived(RpcNetChannel.java:3045) at com.google.net.rpc3.impl.client.RpcNetChannel.access$2900(RpcNetChannel.java:181) at com.google.net.rpc3.impl.client.RpcNetChannel$TransportCallback.receivedMessage(RpcNetChannel.java:4254) at com.google.net.rpc3.impl.client.RpcChannelTransportData$TransportCallback.receivedMessage(RpcChannelTransportData.java:688) at com.google.net.rpc3.impl.wire.RpcBaseTransport.receivedMessage(RpcBaseTransport.java:463) at com.google.apphosting.runtime.udrpc.UdrpcTransport$ClientAdapter.receivedMessage(UdrpcTransport.java:350) at com.google.apphosting.runtime.udrpc.UdrpcTransport.dispatchPacket(UdrpcTransport.java:196) at com.google.apphosting.runtime.udrpc.AbstractUdrpcTransport.readPackets(AbstractUdrpcTransport.java:202) at com.google.apphosting.runtime.udrpc.AbstractUdrpcTransport.access$000(AbstractUdrpcTransport.java:30) at com.google.apphosting.runtime.udrpc.AbstractUdrpcTransport$1.run(AbstractUdrpcTransport.java:57) at com.google.net.eventmanager.AbstractFutureTask$Sync.innerRun(AbstractFutureTask.java:260) at com.google.net.eventmanager.AbstractFutureTask.run(AbstractFutureTask.java:121) at com.google.net.eventmanager.EventManagerImpl.runTask(EventManagerImpl.java:594) at com.google.net.eventmanager.EventManagerImpl.internalRunWorkerLoop(EventManagerImpl.java:1012) at com.google.net.eventmanager.EventManagerImpl.runWorkerLoop(EventManagerImpl.java:892) at com.google.net.eventmanager.WorkerThreadInfo.runWorkerLoop(WorkerThreadInfo.java:161) at com.google.net.eventmanager.EventManagerImpl$WorkerThread.run(EventManagerImpl.java:1877)

George (Cloud Platform Support)

unread,
Jan 6, 2017, 1:59:03 PM1/6/17
to Google App Engine
How much of the free quota is left? Once billing gets enabled, the above errors should not appear any more. 

Louise Elmose Hedegaard

unread,
Jan 6, 2017, 2:05:13 PM1/6/17
to Google App Engine
96-100% is left of the free quota. When there is free quota that type of Exception should not happen right?

George (Cloud Platform Support)

unread,
Jan 6, 2017, 3:04:31 PM1/6/17
to Google App Engine
One cannot exclude out-of-hand the situation that a daily budget has never been set up for your app. You may check as follows:  

2) Choose your app. 
3) Select "Billing Status" under "Billing" in the left hand frame. 
4) Your daily budget can be set there.  
Reply all
Reply to author
Forward
0 new messages