I just started migrating from KV to D1 I

I just started migrating from KV to D1. I can create & access the database fine in the web ui, but I cannot access it via e.g. wrangler d1 list (getting the authentication error 10000 that somebody already reported on github). Is there a workaround for it?
4 Replies
tobias-
tobias-12mo ago
For the record, this is the bug I'm referencing: https://github.com/cloudflare/workers-sdk/issues/3977
GitHub
🐛 BUG: Authentication error [code: 10000] · Issue #3977 · cloudfla...
Which Cloudflare product(s) does this pertain to? D1 What version(s) of the tool(s) are you using? ⛅️ wrangler 3.8.0 What version of Node are you using? 20 What operating system are you using? Mac ...
tobias-
tobias-12mo ago
And ignore this. Something is weird. If I create a clean project it works, but if I try to migrate it doesn't. Other variables apply as well, so I'm assuming I have the wrong user. It would be awesome if the error message linked to some sort of validation utility for permissions
Max (@rozenmd)
Max (@rozenmd)12mo ago
wrangler caches account data FWIW if you delete node_modules/.cache and try with your API key again, it should work
tobias-
tobias-12mo ago
Thanks. Not sure it's saved in my $PWD/node_modules/ though as I've nuked that directory multiple times and still not forced to log in again?
Want results from more Discord servers?
Add your server