We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ace5727 + 9566eb9 commit aa3fd26Copy full SHA for aa3fd26
pkg/flowkit/util/mixpanel.go
@@ -160,6 +160,10 @@ func IsUserOptedIn() (bool, error) {
160
return false, err
161
}
162
if res.StatusCode >= 400 {
163
+ if res.StatusCode == 429 {
164
+ //tracking is enabled by default if there is rate limit error from mixpanel
165
+ return true, nil
166
+ }
167
return false, fmt.Errorf("invalid response status code %d for tracking command usage", res.StatusCode)
168
169
if len(queryResponse.Results) == 0 {
0 commit comments