Hi, I am trying to deploy my Nuxt app to cloudafare workers but the problem is that I followed the setup on the website, everything builds fine just for the last step when it tries to deploy it throws this error
15:18:11.308
15:18:11.362 ✘ [ERROR] A request to the Cloudflare API (/accounts/.../pages/projects/...) failed.
15:18:11.362
15:18:11.362 Authentication error [code: 10000]
15:18:11.363
15:18:11.363
15:18:11.363 📎 It looks like you are authenticating Wrangler via a custom API token set in an environment variable.
15:18:11.363 Please ensure it has the correct permissions for this operation.
I can only generate a new token but cant specify the permissions(reffering to the option in the build category in the setting on the cloudfare dashboard. Is there some way to fix this? Thanks!