Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to Deploy using Account API Tokens #296

Open
shawncarr opened this issue Sep 27, 2024 · 0 comments
Open

Fails to Deploy using Account API Tokens #296

shawncarr opened this issue Sep 27, 2024 · 0 comments

Comments

@shawncarr
Copy link

As a call out I tried to use Account API Tokens, which I know are in beta, for my apiToken property. It would successfully deploy but then it would return an error trying to do something with the routes endpoint.

 ⛅️ wrangler 3.78.11 (update available 3.78.12)
  -----------------------------------------------
  
  Total Upload: 33.26 KiB / gzip: 12.32 KiB
  Worker Startup Time: 12 ms
  Uploaded workers (2.55 sec)
  
  ✘ [ERROR] A request to the Cloudflare API (/accounts/***/workers/scripts/workers/routes) failed.
  
    An unknown error has occured. If this error persists, please file a report in the workers-sdk GitHub repository (https://github.com/cloudflare/workers-sdk/issues) or reach out to your account team. [code: 10002]

I switched to the documented User Api Token and the problem went away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant