Getting Authentication error [code: 10000] on deploy from wrangler
Hi, since yesterday I am getting a very annoying error. I have a opennextjs worker and I deploy pretty frequently to test, since I don't use the local development and preview. On running yarn wrangler deploy the second step in the script (opennextjs-cloudflare deploy) fails:
this had been a problem for a while, but I solved it by running the command that fails and then the deploy again.
However since yesterday 99% of the time I can't run it because of this:
The 0Auth token has d1 (write) permission. I tried wrangler logout/login several times, ran the command several times as well, even restarted the pc. The 1% this d1 command goes through everything is fine with the deployment. Is there a way to fix this, or maybe remove the d1 cahe command temporarily?
0 Replies