diff --git a/platformapi/platformapi.go b/platformapi/platformapi.go index 0d4e6496..89af0321 100644 --- a/platformapi/platformapi.go +++ b/platformapi/platformapi.go @@ -96,6 +96,8 @@ func AccessPlatformAPIWithRetry(client *http.Client, handleRequest func() *http. } errLevel, err := handleResponse(response) if err == nil { + exceedLimitRetryCount = 0 + recoverableErrorRetryCount = 0 return nil } else if errLevel == ErrLevelExceedLimit { exceedLimitRetryCount++