cloudflare / cloudflare/developer-platform

unable to delete d1 db

Open
#47 1 comment 0 reactions 0 assignees View on GitHub
product:d1
Dominant language
No language data
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### What versions & operating system are you using?

wrangler 4.10.0

### Please provide a link to a minimal reproduction

_No response_

### Describe the Bug

wrangler d1 delete dbname

⛅️ wrangler 4.10.0 (update available 4.22.0)
-------------------------------------------------------

About to delete DB 'dbname' (xxxxxxxxxxxxxxxxxxxxxxxxxx).
✔ Ok to proceed? … yes
Deleting...

✘ [ERROR] A request to the Cloudflare API (/accounts/xxx/d1/database/xxxxxxxxxxxxxxxxxxxxxxxx) failed.

[object Object] [code: 7500]

### Please provide any relevant error logs

wrangler d1 delete dbname

⛅️ wrangler 4.10.0 (update available 4.22.0)
-------------------------------------------------------

About to delete DB 'dbname' (xxxxxxxxxxxxxxxxxxxxxxxxxx).
✔ Ok to proceed? … yes
Deleting...

✘ [ERROR] A request to the Cloudflare API (/accounts/xxx/d1/database/xxxxxxxxxxxxxxxxxxxxxxxx) failed.

[object Object] [code: 7500]

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `wrangler d1 delete dbname` with the reported Wrangler version, then inspect handling for the Cloudflare API request at `/accounts/xxx/d1/database/xxxxxxxxxxxxxxxxxxxxxxxx`. Done means the database deletion completes or the failure is reported with actionable error details instead of `[object Object]`.

Written by the indexing model from the issue text.

Assessment

Domain
api, cli, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.