SPQueryThrottledException
This message shows up in 3 different situations. Pick the one that matches yours:
- Title and Created are the fields you filter on — and the ones your provisioning code never indexesProvisioning indexes only the columns it creates, so the most-filtered fields stay unindexed; past 5,000 items the read throttles and a swallowed error in a write path stops all writes silentlyCause and fix →
- Migrating list items with original authors, dates — and their version historyCopy and Move does not do lists, but REST does the job item by item — AddValidateUpdateItemUsingPath takes Author, Editor, Created and Modified at creation (one call, one version), version history can be replayed with ValidateUpdateListItem(bNewDocumentUpdate:false), approval goes in the same call, attachments add a version, two field formats are dropped without any error, and a user who may only add items cannot set the four fields – SharePoint silently keeps the real author and timeCause and fix →
- The 5,000-item list view threshold — and why indexes must come earlyIt's scanned rows, not returned rows; index early, page alwaysCause and fix →