Plaid 42.0.0 breaking change: Enrichments.recurrence removed
What changed
Enrichments.recurrence removed; prism nullable; investments responses use InvestmentAccount
From the upstream announcement:
OpenAPI generated code at 2026-04-02T21:38:08Z
Who is affected
Two mechanical edits: (1) delete reads of enrichments.recurrence and any imports of the removed Recurrence/RecurringFrequency types - the upstream data product was discontinued with no successor field, so removal is the safe codemod; (2) add a null guard (optional chaining or explicit check) around partner-insights prism access, since the field is now omitted when Prism Data was not requested.
To find out whether your repo is hit — file and line number, no code leaving your machine:
npx mendapi sync # the one network call: fetch the change feed npx mendapi scan --repo . # local scan, nothing leaves your machine
How to fix it
Migration path:
Two mechanical edits: (1) delete reads of enrichments.recurrence and any imports of the removed Recurrence/RecurringFrequency types - the upstream data product was discontinued with no successor field, so removal is the safe codemod; (2) add a null guard (optional chaining or explicit check) around partner-insights prism access, since the field is now omitted when Prism Data was not requested. The InvestmentAccount change is additive widening and needs no consumer edit.
Before:
const freq = enrichment.recurrence.frequency; const score = insights.prism.cash_score;
After:
// recurrence removed upstream (product discontinued) const score = insights.prism?.cash_score ?? null;
With your own LLM key configured (BYO compute — mendapi never proxies your credentials), npx mendapi llmfix turns this guide into a reviewable draft patch for your repo.
Detected and tracked by mendapi — Dependabot for every API you depend on. Scans run locally; your code never leaves your machine.
Related
- plaid breaking-change guide — every tracked plaid entry on one page, with fixability verdicts.
- All monitored providers — live change counts for plaid and 19 others.
- Migration pack catalog — every deterministic fix mendapi ships.
- Getting started — scan your repo in 30 seconds, no code leaves your machine.