diff --git a/plotly/api/v2/utils.py b/plotly/api/v2/utils.py index 62678143db2..de3817071f4 100644 --- a/plotly/api/v2/utils.py +++ b/plotly/api/v2/utils.py @@ -117,6 +117,8 @@ def should_retry(exception): 500 <= exception.status_code < 600): # Retry on 5XX errors. return True + elif 'Uh oh, an error occurred' in exception.message: + return True return False