`wrangler d1 migrations apply --remote` fails with `incomplete input: SQLITE_ERROR` due to CRLF line endings in migration files containing triggers.
`wrangler d1 migrations apply --remote` fails with `incomplete input: SQLITE_ERROR` due to CRLF line endings in migration files containing triggers.
Problem statement normalized from the linked evidence
CANDIDATE VIEW · NOT A PUBLISHED OPPORTUNITY
01
Qualification checklist
Gate decision: Aug 15, 2026
×
At least 3 independent users2 / 3
NOT MET
×
At least 2 independent discussions1 / 2
NOT MET
✓
At least 1 supporting signal1 Workarounds · 1 Blocked workflows
MET
02
Observed signals
Users2
Discussions1
Mentions2
Active days1
Source coverageGitHub
TrendUNKNOWN
First seenAug 03, 2026
Last seenAug 03, 2026
Why the gate is holding
Fewer than 3 independent users
Fewer than 2 independent discussions
Competition research, commercial scoring, and Build Gap analysis do not run until this gate passes.
03
Source evidence
2 evidence records
github · HIGH · Aug 03, 2026
cloudflare/workers-sdk
> [!NOTE] > This is an automated, advisory triage report generated by workers-devprod. It is not an official maintainer response — a maintainer will follow up. 🤖 Automated triage report # Issue Triage: cloudflare/workers-sdk#14991 ## Summary `wrangler d1 migrations apply --remote` fails with `incomplete input: SQLITE_ERROR [code: 7500]` when a migration file has CRLF line endings and contains a `CREATE TRIGGER ... BEGIN ... END;` body — the default situation on Windows checkouts with `core.autocrlf=true`. ## Class…
D1: 'wrangler d1 migrations apply --remote' fails with 'incomplete input: SQLITE_ERROR' on CRLF migration files containing triggers
### Which Cloudflare product(s) does this pertain to? D1, Wrangler ### What versions are you using? Reproduced on wrangler 4.107.0 and 4.118.0 (Windows 11, Node 24). ### What operating system and version are you using? Windows 11 Pro ### Describe the Bug `wrangler d1 migrations apply --remote` fails with: ``` X [ERROR] A request to the Cloudflare API (.../d1/database/ /query) failed. incomplete input: SQLITE_ERROR [code: 7500] ``` whenever a migration file has **CRLF line endings** and contains a **trigger** (`BEGI…