Sometime I will encounter DeadlineExceeded error, this error could be 
completed successfully after retry.


 

> ib/python3.6/site-packages/grpc/_channel.py", line 466, in 
> _end_unary_response_blocking
>     raise _Rendezvous(state, None, None, deadline)
> grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
> status = StatusCode.DEADLINE_EXCEEDED
> details = "Deadline Exceeded"
> debug_error_string = 
> "{"created":"@1559723393.267179000","description":"Error received from 
> peer","file":"src/core/lib/surface/call.cc","file_line":1039,"grpc_message":"Deadline
>  
> Exceeded","grpc_status":4}"
> google.api_core.exceptions.DeadlineExceeded: 504 Deadline Exceeded

 

On Wednesday, 5 June 2019 02:14:48 UTC+8, adsapiforumadvisor wrote:
>
> Hello Jayce,
>
> To clarify, not every error subjected to retry after some time. If you are 
> facing INTERNAL_ERROR error then you can make the API call again after 
> sometime. Usually when such exception/error occurs, your exception 
> handling/error handling code should sleep for some time and then call the 
> function again to make the API call. That is a general structure to handle 
> exceptions. There is no code samples available to retry error, here 
> <https://developers.google.com/google-ads/api/docs/error-types#retryable_errors>
>  
> is some more details on using exponential backoff policy.
>
> You could also share your error log to see if the errors you are facing 
> are retryable or not. Please use incognito window while sharing the logs.
>
> Regards,
> Sai Teja, Google Ads API Team
>
> ref:_00D1U1174p._5001UBlPHr:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8622cfef-e0a9-48d6-a01b-ce231dd877a1%40googlegroups.com.

Reply via email to