Applies to:
TooManyRequestsError because the SDK makes individual BTQL queries for each page of results, exceeding the 20 requests per 60 seconds rate limit. This issue is resolved by upgrading to SDK version 0.3.8 or later, which includes automatic rate limit handling for dataset operations.
Error Message
Resolution Steps
Solution 1: Upgrade SDK (recommended)
Step 1: Check current version
Verify your current SDK version.Step 2: Upgrade SDK
Install the latest version with automatic rate limit handling.Step 3: Resume normal iteration
Dataset iteration will now handle rate limits automatically.Solution 2: Use fetch() method (immediate workaround)
Step 1: Fetch all data at once
Usefetch() to retrieve all rows in a single API call.