You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Retrying API Calls
By default, hubspot3 will attempt to retry all API calls up to 2 times
upon failure.
If you'd like to override this behavior, you can add a `number_retries`
keyword argument to any Client constructor, or to individual API calls.
However, setting number_retries=0 causes the library to spam out warnings on the first failure, e.g.
Too many retries for /deals/v1/deal/110248399499?
Too many retries for /deals/v1/deal/102249436582?
Too many retries for /deals/v1/deal/102351008917?
When disabling the auto-retry mechanism it is expected that the library will not auto-retry, and will not output anything in regards to retrying.
Can we disable this warning in case of number_retries==0?
The text was updated successfully, but these errors were encountered:
According to the documentation:
However, setting
number_retries=0
causes the library to spam out warnings on the first failure, e.g.When disabling the auto-retry mechanism it is expected that the library will not auto-retry, and will not output anything in regards to retrying.
Can we disable this warning in case of
number_retries==0
?The text was updated successfully, but these errors were encountered: