Hi when I try to collect data from github I get ra...
# ask-ai
d
Hi when I try to collect data from github I get rate limit error ce ERROR Max retry limit reached in 12.066089s and it just fails
k
When collecting data from GitHub using Airbyte, hitting rate limits is a common issue. The GitHub API enforces strict rate limits (typically 5,000 requests per hour per user or token, or 15,000 for GitHub Enterprise Cloud organizations). If your sync exceeds these limits, Airbyte will retry a few times, but if the limit persists, you'll see errors like "Max retry limit reached" and the sync will fail. Recommended actions to mitigate rate limit errors: 1. Use Incremental Sync Mode: This reduces the number of API calls by only syncing new or updated data. 2. Increase Sync Interval: Schedule your syncs less frequently to allow the rate limit to reset between runs. 3. Split Connections: Divide your sync into multiple connections, each with fewer streams, to distribute the API calls more evenly. 4. Check Authentication: Use a personal access token or GitHub App with the appropriate scopes to maximize your rate limit allocation. For more details, see the Airbyte documentation on [GitHub source limitations and troubleshooting](https://docs.airbyte.com/integrations/sources/github#limitations--troubleshooting). If you continue to hit rate limits even after these adjustments, you may need to further reduce the number of streams per sync or increase the time between syncs. The knowledge sources do not mention automatic handling of rate limit backoff for the GitHub connector beyond the default retry logic, so manual configuration and scheduling adjustments are your best options.
d
@kapa.ai is the 409 error for that?
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not mention HTTP 409 errors in the context of GitHub rate limiting or Airbyte's handling of GitHub API errors. The documentation and examples provided focus on rate limiting errors (typically HTTP 429) and server errors (5XX), but do not reference 409 errors as being related to rate limiting or as a common error for the GitHub connector in Airbyte. If you are encountering a 409 error, it is likely due to a different issue, not rate limiting. For GitHub, a 409 Conflict error often indicates a logical conflict with the request, such as trying to perform an operation that is not allowed in the current state, but this is not covered in the Airbyte documentation provided above.