workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

🐛 BUG:

Open cinzianicoletti opened this issue 1 year ago • 0 comments

Which Cloudflare product(s) does this pertain to?

D1

What version(s) of the tool(s) are you using?

3.29.0

What version of Node are you using?

v18.18.2

What operating system and version are you using?

Mac Sonoma 14.1.1

Describe the Bug

Observed behavior

After running this command on the db.sql file, (which weighs 18 MB):

npx wrangler d1 execute CLOUDFLARE-DATABASE --file=backup_database/db.sql

Expected behavior

Full loading of all tables on R1

I was presented with this error:

PRAGMA foreign_keys=OFF; CREATE TABLE `strapi_migrations` (`id` intege...

✘ [ERROR] A request to the Cloudflare API (/accounts/------CENSURED--------/d1/database/---------CENSURED-----/query) failed.

Internal error in D1 storage caused object to be reset. [code: 7500]

Please provide a link to a minimal reproduction

No response

Please provide any relevant error logs

PRAGMA foreign_keys=OFF; CREATE TABLE strapi_migrations (id intege...

✘ [ERROR] A request to the Cloudflare API (/accounts/------CENSURED--------/d1/database/---------CENSURED-----/query) failed.

Internal error in D1 storage caused object to be reset. [code: 7500]

cinzianicoletti avatar Feb 27 '24 12:02 cinzianicoletti