API quotas and failuresΒΆ
Ingest tasks fail immediately when platform quota or rate limits are hit (no silent partial success).
| Platform | Daily limit | Reset time (UTC+2) |
|---|---|---|
| TikTok Research API | 1,000 requests/day | ~02:00 (midnight UTC) |
| YouTube Data API | 10,000 units/day (default) | ~09:00 summer / ~10:00 winter (midnight Pacific) |
When a fetch task fails:
- Downstream tasks in that run are skipped.
- Re-trigger the failed child DAG after the quota resets. You do not need to re-run the whole orchestrator if earlier steps already succeeded.
Rate-limit helpers live in helpers/api_rate_limits.py.