workers-sdk
workers-sdk copied to clipboard
Export D1 DataBase Error: cell.replace is not a function
What versions & operating system are you using?
Windows 11, Node.js & NPM, wrangler 4.16.1 / 4.19.2 / 4.20.0 (All tested)
Please provide a link to a minimal reproduction
No response
Describe the Bug
I tried to export my remote D1 database but it falied, throw an error then stucked.
--- 2025-06-12T12:19:50.168Z log 🌀 Executing on remote database cesspit (c932e1d8-5c3f-4c4b-b8d4-cd9352b58a85):
--- 2025-06-12T12:19:53.569Z debug Error: cell.replace is not a function at pollExport (D:\Cesspit.ts\node_modules\wrangler\wrangler-dist\cli.js:77928:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async spinnerWhile (D:\Cesspit.ts\node_modules\wrangler\wrangler-dist\cli.js:35913:24) at async exportRemotely (D:\Cesspit.ts\node_modules\wrangler\wrangler-dist\cli.js:77884:25) at async Object.handler (D:\Cesspit.ts\node_modules\wrangler\wrangler-dist\cli.js:78037:18) at async Object.handler (D:\Cesspit.ts\node_modules\wrangler\wrangler-dist\cli.js:77033:7)
Then the database crashed, if I export again, it says:
🌀 Executing on remote database cesspit (c932e1d8-5c3f-4c4b-b8d4-cd9352b58a85): X [ERROR] Currently processing a long-running export. Cannot start a new export until that completes or times out.
The database cannot be access from Cloudflare Dashboard or API, website down.
Please provide any relevant error logs
No response