4.5K members online now
For developers who are using the Google My Business API to manage locations
Guide Me
star_border
Reply
Highlighted

Deadline expired before operation could complete.

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi Google My Business Team,

 

I am getting DEADLINE_EXCEEDED errors at the moment and my requests are only get and not faster than 5 QPS.

 

{
  "code" : 504,
  "errors" : [ {
    "domain" : "global",
    "message" : "Deadline expired before operation could complete.",
    "reason" : "backendError"
  } ],
  "message" : "Deadline expired before operation could complete.",
  "status" : "DEADLINE_EXCEEDED"
}

 

Sometimes it works without any problem, but today i am getting this error very often. Is there any solution for that ?

 

Cheers, musti

1 Expert replyverified_user

Re: Deadline expired before operation could complete.

Google Employee
# 2
Google Employee

Hi @Mustafa K,

 

Please confirm us if is this a continued error with any set of locations, or was it transient?

 

Thanks,

The Google My Business API team

Deadline expired before operation could complete.

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Hi Shalini,

 

this error comes actually when i am getting reviews (over 10k) from an account. 

 

Thanks , Musti

Deadline expired before operation could complete.

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭

Hello Shalini,

 

We received the same error when calling the reviews method each of the last 3 days at 6:45 AM EDT (7/15/2017 - 7/17/2017).  Were there any known performance issues over the weekend?  I was able to run our process successfully later this morning (7/17/2017) at 11 AM EDT so maybe the issue is now fixed?

 

  "error": {

    "code": 504,

    "message": "Deadline expired before operation could complete.",

    "status": "DEADLINE_EXCEEDED"

  }

 

Thank you.

Deadline expired before operation could complete.

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭

I continue to experience this issue with the reviews method when running our process at 5:45 AM and 6:45 AM EDT on the past 2 days.  I am not sure if the API is experiencing higher load globally during these times and cannot complete the requests in a timely manner.  I have been able to run our process after the 8 AM EDT hour successfully so I suppose I will re-schedule our process to run later in the morning to attempt to avoid these errors.  Please advise with any feedback.  Thank you.

Deadline expired before operation could complete.

Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭

After re-scheduling our process to run later in the morning I have not seen the error over the last 2 days.  It would be nice to have this issue fixed so it is not a concern in the future.

Re: Deadline expired before operation could complete.

Google Employee
# 7
Google Employee

Hi @Viz D,

 

Thank you for clarifying the issue. We're working on these issues for improvements in the Google My Business API.

 

Thanks,

The Google My Business API Team

Deadline expired before operation could complete.

Visitor ✭ ✭ ✭
# 8
Visitor ✭ ✭ ✭

Hi @Shalini S,

 

I am still getting this error: Deadline expired before operation could complete.

 

The times were

12:30 ETC

15:28 ETC

17:20 ETC

17:51 ETC

 

Do you have a workaround for this error? 

 

Thanks, Musti

 

 

 

Experts in the Topic
Shalini S