D1 wrangler import [ERROR] {"D1_RESET_DO":true}

I am using the wrangler command to insert records into my D1 database but I am getting following response: šŸŒ€ File already uploaded. Processing. šŸŒ€ Starting import... šŸŒ€ Processed 35468 queries. šŸŒ€ Processed 72704 queries. šŸŒ€ Processed 110145 queries. āœ˜ [ERROR] {"D1_RESET_DO":true} Any idea?
2 Replies
jdruwe
jdruweOPā€¢3mo ago
Seems like it was caused by a unique constraint, would be helpful to get a better error message šŸ˜„
Chaika
Chaikaā€¢2mo ago
yeaa it's been brought up before to the d1 team that import doesn't have great errors. The team is active in #d1-database or could make a workers-sdk issue. There's a few open for import issues & a docs warning about foreign key constraints but looks like none strictly related to that
Want results from more Discord servers?
Add your server