I'm unable to get D1 working due to invalid `id` in `wrangler.toml`. `wrangler.toml` ```toml name =

I'm unable to get D1 working due to invalid
id
in
wrangler.toml
.

wrangler.toml

name = "something"
main = "src/index.ts"
compatibility_date = "2022-11-07"
node_compat = true

[[ d1_databases ]]
binding = "DB"
database_name = "something"
database_id = "abscsdf23"


But I keep getting an error

notes: [
      {
        text: 'binding __D1_BETA__DB of type d1 must have a valid `id` specified [code: 10021]'
      }
    ],


Anyone know what it should look like? There's guidance in the docs on what the database_name should be but not the
database_id
. Would be great to update the docs so that there was a better explanation there (https://developers.cloudflare.com/d1/get-started/#4-bind-your-worker-to-your-d1-database)
Cloudflare Docs
This guide will instruct you through:
Was this page helpful?