Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 BUG: D1 create error #7310

Open
huahualiuhuahua opened this issue Nov 21, 2024 · 1 comment
Open

🐛 BUG: D1 create error #7310

huahualiuhuahua opened this issue Nov 21, 2024 · 1 comment
Labels
awaiting reporter response Needs clarification or followup from OP bug Something that isn't working

Comments

@huahualiuhuahua
Copy link

Which Cloudflare product(s) does this pertain to?

D1

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

1

What version of Node are you using?

1

What operating system and version are you using?

10

Describe the Bug

Observed behavior

Please describe.

Expected behavior

Please describe.

Steps to reproduce

Please provide the following:

  • A minimal working subset of your worker code
  • A minimal working subset of your wrangler.toml
  • Commands used to start your local dev server, including custom env and cli args
  • Steps to be performed in the browser, curl commands, or a test we can run that reliably fails (at least a percent of the time)

A git repo we can clone and run a test suite on, or which has a README with step-by-step instructions, is even better. In this case, please use the field below to provide a link to the minimal repro.

Please provide a link to a minimal reproduction

51s Run cd Rin/ bun install v1.1.36 (ededc168) Resolving dependencies Resolved, downloaded and extracted [122] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + @types/[email protected] + @types/[email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] 1101 packages installed [47.78s] Blocked 10 postinstalls. Run bun pm untrusted for details. Failed to create D1 "rin" ⛅️ wrangler 3.69.1 (update available 3.88.0) --------------------------------------------- ✘ [ERROR] A request to the Cloudflare API (/accounts/***/d1/database) failed. DUPLICATE_DATABASE_ERROR [code: 7500] If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose ---------------------------- Error: Process completed with exit code 1.

Please provide any relevant error logs

1

@huahualiuhuahua huahualiuhuahua added the bug Something that isn't working label Nov 21, 2024
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Nov 21, 2024
@emily-shen
Copy link
Contributor

Hi, this looks like you've tried to run wrangler d1 create with a database name that you've already used. If you try a different name, can you create a d1 database?

@emily-shen emily-shen changed the title 🐛 BUG:1 🐛 BUG: D1 create error Nov 25, 2024
@emily-shen emily-shen added the awaiting reporter response Needs clarification or followup from OP label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting reporter response Needs clarification or followup from OP bug Something that isn't working
Projects
Status: Untriaged
Development

No branches or pull requests

2 participants