launchdarkly / ld-find-code-refs

Build tool for automatically sending feature flag code references to LaunchDarkly
https://launchdarkly.com
Other
45 stars 34 forks source link

Rate limit issue for launchdarkly/api-client-php , version ^11.0 #335

Closed Hetalga closed 1 year ago

Hetalga commented 1 year ago

I Install launchdarkly/api-client-php with version ^11.0 with the composer.

I am getting an error for the rate limit as below,

InUserSettingApi.php line 577: [429] client error: 'GET https://app.launchdarkly.com/api/v2/users/default/PROJECT_NAME/USER_KEY/flags/FLAG_NAME' resulted in a 429 to many request response:{code:"rate limit", "message":"You are exceeded the API rate limit. try again later"}

jazanne commented 1 year ago

@Hetalga your issue would be best posted over in the repo for the php client which can be found here https://github.com/launchdarkly/api-client-php. This repo is for the code reference scanning tool.