Skip to content

🐛 BUG: Make d1 db limit error message match Cloudflare dashboard #2913

@rozenmd

Description

@rozenmd

Which Cloudflare product(s) does this pertain to?

D1

What version of Wrangler are you using?

latest

What operating system are you using?

Mac

Describe the Bug

with 10 dbs, run wrangler@latest d1 create test123

error message is:

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

  System limit reached: databases per account (10) [code: 7406]

  If you think this is a bug, please open an issue at:
  https://github.com/cloudflare/workers-sdk/issues/new/choose

While the dash's error message is of the format: You have reached the maximum number of databases (%{dbLimit}) for your account. Please consider deleting unused databases, or visit the <0>D1 documentation</0> to learn more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    d1Relating to D1

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions