The OAuth token works (429 = authenticated but throttled); subscription tokens have a tight output-tokens/min limit and the API reserves max_tokens against it, so the big translate calls 429'd and the error surfaced as a failed refresh. - Smaller requests: translate max_tokens 16000->4000, batch 250->100; match max_tokens 8000->2000 (less reserved OTPM per call) - Client max_retries=8 so the SDK waits out 429s (respects retry-after) - Pace 1.5s between translate batches - Matching no longer fails the whole refresh on a 429 — it keeps the existing matches; translations are cached per batch, so progress persists and the next refresh finishes the rest
43 KiB
43 KiB