BatchJobError.DISK_QUOTA_EXCEEDED with no apparent reason

112 views
Skip to first unread message

Samuel Barbosa

unread,
Jul 4, 2018, 12:50:43 PM7/4/18
to AdWords API and Google Ads API Forum
Hi,

I have been getting an error BatchJobError.DISK_QUOTA_EXCEEDED since yesterday in one of my accounts (3059861169). I double checked if there were pending jobs and cancelled any remaining batch job, but the problem still persists. Any way I can check and clean any used space for this account?

Regards,

Sam

Dannison Yao (AdWords API Team)

unread,
Jul 5, 2018, 1:42:35 AM7/5/18
to AdWords API and Google Ads API Forum
Hi Sam,

The error BatchJobError.DISK_QUOTA_EXCEEDED is encountered when you have reached the size limit for batch job operations which is a total of 1GB. What you could do is check for the diskUsageQuotaBalance which will return the disk quota balance of the batch job's customer in KB. You can check and cancel the batch jobs in the AWAITING_FILE or ACTIVE status and retry the request or you could wait until the size of pending operations falls below the limit before creating new jobs.

Regards,
Dannison
AdWords API Team

Samuel Barbosa

unread,
Jul 5, 2018, 9:46:34 AM7/5/18
to AdWords API and Google Ads API Forum
Hi Dannison,

Thanks for your reply. As I mentioned, I have already canceled all jobs possible jobs, including any jobs in the AWAITING_FILE or ACTIVE status. I am aware of the 1GB limit and that is why I said there is no apparent reason for this error.

I have tried creating a BatchJob for the mentioned account (removing developerToken and formatting for readability):

2018-07-05 10:26:38,578 [DEBUG] (zeep.transports): HTTP Post to https://adwords.google.com/api/adwords/cm/v201806/BatchJobService:
<?xml version='1.0' encoding='utf-8'?>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header>
<ns0:RequestHeader xmlns:ns0="https://adwords.google.com/api/adwords/cm/v201806">
<ns0:clientCustomerId>3059861169</ns0:clientCustomerId>
<ns0:developerToken></ns0:developerToken>
<ns0:userAgent>unknown (AwApi-Python, googleads/12.2.0, Python/3.6.2, zeep)</ns0:userAgent>
<ns0:validateOnly>false</ns0:validateOnly>
<ns0:partialFailure>false</ns0:partialFailure>
</ns0:RequestHeader>
</soap-env:Header>
<soap-env:Body>
<ns0:operations>
<ns0:operator>ADD</ns0:operator>
<ns0:operand/>
</ns0:operations>
</ns0:mutate>
</soap-env:Body>
</soap-env:Envelope>

Only to get the following reply:

2018-07-05 10:26:38,991 [DEBUG] (zeep.transports): HTTP Response from https://adwords.google.com/api/adwords/cm/v201806/BatchJobService (status: 500):
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<requestId>000570407f4052880a375a416d0d108d</requestId>
<serviceName>BatchJobService</serviceName>
<methodName>mutate</methodName>
<operations>1</operations>
<responseTime>129</responseTime>
</ResponseHeader>
</soap:Header>
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>[BatchJobError.DISK_QUOTA_EXCEEDED @ operations[0]]</faultstring>
<detail>
<message>[BatchJobError.DISK_QUOTA_EXCEEDED @ operations[0]]</message>
<ApplicationException.Type>ApiException</ApplicationException.Type>
<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="BatchJobError">
<fieldPath>operations[0]</fieldPath>
<fieldPathElements>
<field>operations</field>
<index>0</index>
</fieldPathElements>
<trigger/>
<errorString>BatchJobError.DISK_QUOTA_EXCEEDED</errorString>
<ApiError.Type>BatchJobError</ApiError.Type>
<reason>DISK_QUOTA_EXCEEDED</reason>
</errors>
</ApiExceptionFault>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>

As you can see, there is no information about the current used quota. I have checked for all previously created BatchJobs in this account and all of them are in the CANCELED or DONE status. Canceling jobs does not seem to do the trick. My other accounts work fine, this one is the only problematic one. I can't see any reason why there would be any disk quota used. 

If you have any other insights that I can try, I would really appreciate.

Regards,

Sam

Alan Justino da Silva

unread,
Jul 5, 2018, 4:19:05 PM7/5/18
to AdWords API and Google Ads API Forum
@dannison, is there any possibility of the quota being not "refuelled" by some detail we all missed? Everything is done or canceled already.

Maybe something on a lower level, like cgroups, filesystem inodes, temporary files?

Josh Radcliff (AdWords API Team)

unread,
Jul 6, 2018, 9:51:52 AM7/6/18
to AdWords API and Google Ads API Forum
Hi Sam,

I've raised this issue with the batch job engineering team and will reply back as soon as I have an update. This appears to be a problem on our side, since your account does not have any pending batch jobs and should therefore be well below the quota.

Cheers,
Josh, AdWords API Team

Josh Radcliff (AdWords API Team)

unread,
Jul 9, 2018, 3:23:10 PM7/9/18
to AdWords API and Google Ads API Forum
Hi Sam,

The quota for your account has been reset. Please try creating batch jobs again and let me know if you encounter any issues.

Thanks,
Josh, AdWords API Team

Samuel Barbosa

unread,
Jul 10, 2018, 10:44:19 AM7/10/18
to AdWords API and Google Ads API Forum
Thanks Josh, things seem to be working alright now.

Regards,

Sam

Samuel Barbosa

unread,
Sep 12, 2018, 10:45:57 AM9/12/18
to AdWords API and Google Ads API Forum
Hi Josh,

I am having the exact same problem that I had previously but now for my account 4723477910. I have double checked and there are no BatchJobs running, they are all "CANCELED" or "DONE", but I am still getting "BatchJobError.DISK_QUOTA_EXCEEDED".

Can you check this for me please?

Regards,

Sam

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/dTrdr3I4SoE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/c84d7b4b-ea98-499a-b095-23b364c0c9c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Josh Radcliff (AdWords API Team)

unread,
Sep 12, 2018, 10:25:35 PM9/12/18
to AdWords API and Google Ads API Forum
Hi Sam,

I've raised this with the batch job team. I'll let you know once they have addressed the quota problem on the most recent account mentioned below.

Thanks,
Josh, AdWords API Team

For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/dTrdr3I4SoE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages