workers/services No route for that URI [code: 7000]

I've been trying to deploy a worker via wrangler.toml located in worker/index.js I run into this error
✘ [ERROR] A request to the Cloudflare API (/accounts/46c17ef131da325b2258bd13c920442b/workers/services/meetnearme-worker-dev) failed.
No route for that URI [code: 7000]
✘ [ERROR] A request to the Cloudflare API (/accounts/46c17ef131da325b2258bd13c920442b/workers/services/meetnearme-worker-dev) failed.
No route for that URI [code: 7000]
I've verified my account ID many times, I've even gone so far as to (temporarily) use my Global API Key to ensure that this isn't a permissions issue with the scoped API Key I created. In all cases, I get the same error. I'm the last person to leave these kinds of "pleas for help" but this is very much stumping me and I can't think of anything else I might change, it seems to all hinge on CLOUDFLARE_ACCOUNT_ID and CLOUDFLARE_API_TOKEN which I know are both correct
2 Replies
andrew_nyr
andrew_nyr2w ago
Want to try wrangler login ? It may be worth a shot as it handles auth auto. https://developers.cloudflare.com/workers/wrangler/commands/#login
brianfeister
brianfeisterOP2w ago
I had the same idea @andrew_nyr but was getting this error
✘ [ERROR] You are logged in with an API Token. Unset the CLOUDFLARE_API_TOKEN in the environment to log in via OAuth.
✘ [ERROR] You are logged in with an API Token. Unset the CLOUDFLARE_API_TOKEN in the environment to log in via OAuth.
I was able to unset the var like this CLOUDFLARE_API_TOKEN= npx wrangler login At which point I was able to complet oAuth in the browser. But running npx wrangler deploy --env dev still yields the same error @andrew_nyr any thoughts?

Did you find this page helpful?