🐛 BUG: api.error.service_not_found when publishing a development worker
See original GitHub issueWhat version of Wrangler
are you using?
2.1.0
What operating system are you using?
Linux + Github Actions
Describe the Bug
It appears wrangler publish
broke in the recent version.
The error I’m getting is:
✘ [ERROR] A request to the Cloudflare API (/accounts/ACCOUNTID/workers/services/githubrepo-feature-refs-pull-46-merge) failed.
workers.api.error.service_not_found [code: 10090]
If you think this is a bug, please open an issue at:
https://github.com/cloudflare/wrangler2/issues/new/choose
I’m getting this from just running the command npx wrangler@2 publish --name=test123
too.
When this happens the error is being thrown from this line. I’m trying to understand the difference between a script and a service (and it’s API counterparts), but I can’t really seem to figure out what I’m doing wrong
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Troubleshoot common errors with API calls in Amazon ECS
The Amazon ECS APIs might fail with one of the following errors: ... ServiceNotFoundException; UnsupportedFeatureException.
Read more >Internal error when publishing coursework with student copies ...
I found a workaround. You can not publish an assignment with student copy using the API. You can use scheduledTime: for 5 min...
Read more >Errors | Cloud APIs - Google Cloud
Typically a server bug. 501, NOT_IMPLEMENTED, API method not implemented by the server. 502, N/A, Network error occurred before reaching the server.
Read more >Troubleshooting Common Problems with Web Deploy
For certain common error cases, Web Deploy will show a message ... work with the Remote Agent Service because of a bug in...
Read more >Best Practices for API Error Handling - Nordic APIs
Error codes are almost the last thing that you want to see in an API response. Generally speaking, it means one of two...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hmm, maybe if the Worker has never been published before, we can’t ask for its previous publish metadata. Perhaps we just need to wrap this request in a try-catch block?
The same error occurs without
--name