cloudflare / cloudflare/workers-sdk
triggers error messages not displaying
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.5k
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 186
Description
### What versions & operating system are you using?
```
System:
OS: Linux 7.0 Fedora Linux 44 (Container Image)
CPU: (16) x64 12th Gen Intel(R) Core(TM) i5-12600K
Memory: 81.53 GB / 94.05 GB
Container: Yes
Shell: 5.3.9 - /bin/bash
Binaries:
Node: 26.1.0 - /root/.local/share/pnpm/bin/node
pnpm: 11.5.2 - /root/.local/share/pnpm/bin/pnpm
```
### Please provide a link to a minimal reproduction
todo
### Describe the Bug
`[ERROR] Some triggers failed to deploy for myWorker`
The AI helper said it might be because the top level "name" field does not match the workflow "name" field, as all documentation and examples have those matching, but I don't know why the worker name has to match the workflow name. Deploys fine except trigger doesn't work. If I remove the "schedules" field no error
```json
{
"name": "myWorker",
"main": "worker.mjs",
"workflows": [{
"name": "WF_name",
"binding": "WF_name",
"class_name": "WF_name",
"schedules": [ "*/5 * * * *" ],
}],
"compatibility_date": "2026-06-13",
}
```
### Please provide any relevant error logs
[ERROR] Some triggers failed to deploy for myWorker
A request to the Cloudflare API
(/accounts/ID/workflows/WF_name) failed
Contributor guide
Assessment
This issue has not been assessed yet.