I am trying to deploy my worker using wrangler dev or wrangler publish but I am getting this error even though I have already added my account id into the wrangler.toml file like I was instructed to do in the documentation.
Error: field account_id
is required to deploy to workers.dev
Any help would be greatly appreciated!
I had a similar issue. Try redoing wrangler init in a new directory, it fixed it for me.