I can't even get the [example](https://

I can't even get the example working. It queues up then instantly fails with an internal error.
Describing latest instance:
Workflow Name: workflows-starter
Instance Id: c369baf1-8d53-4f35-be6b-47c037ff0cb0
Version Id: e2306101-587c-46a1-9451-14a9bef15921
Status: āŒ Errored
Trigger: šŸŒŽ API
Queued: 6/1/2025, 12:40:50 PM
Success: āŒ No
Start: 6/1/2025, 12:40:50 PM
End: 6/1/2025, 12:40:52 PM
Duration: 2 seconds
Error: Error: internal error; reference = la5trq1a8b4ie9ka6vclinv6
Steps:
Describing latest instance:
Workflow Name: workflows-starter
Instance Id: c369baf1-8d53-4f35-be6b-47c037ff0cb0
Version Id: e2306101-587c-46a1-9451-14a9bef15921
Status: āŒ Errored
Trigger: šŸŒŽ API
Queued: 6/1/2025, 12:40:50 PM
Success: āŒ No
Start: 6/1/2025, 12:40:50 PM
End: 6/1/2025, 12:40:52 PM
Duration: 2 seconds
Error: Error: internal error; reference = la5trq1a8b4ie9ka6vclinv6
Steps:
13 Replies
avenceslau
avenceslau•3mo ago
Hey @darkpool , so I am currently trying to reproduce, how did you spin up the starter?
darkpool
darkpoolOP•3mo ago
1. npm create cloudflare@latest workflows-starter -- --template "cloudflare/workflows-starter" 2 I get an error:
ā•° ERROR Error: This project is configured to use pnpm because /Users/mgandolfi/dev/gandolfillc/test/morpheus-test/test2/workflows-starter/package.json has a "packageManager" field
ā•° ERROR Error: This project is configured to use pnpm because /Users/mgandolfi/dev/gandolfillc/test/morpheus-test/test2/workflows-starter/package.json has a "packageManager" field
3. cd into workflows-starter and pnpm i NOTE: if I try and use pnpm and run pnpm create cloudflare@latest workflows-starter -- --template "cloudflare/workflows-starter" It does not use the template and makes me go through create-cloudflare from scratch 4. npx wrangler deploy 5. npx wrangler workflows list 6. npx wrangler workflows trigger workflows-starter '{"hello":"world"}' 7. npx wrangler@latest workflows instances describe workflows-starter latest and then observe error:
ā›…ļø wrangler 4.18.0
───────────────────
Describing latest instance:
Workflow Name: workflows-starter
Instance Id: 65264634-4e4e-40e8-ac61-630102bcf4d5
Version Id: 791839c4-3be6-42d1-880c-3befc994cf23
Status: āŒ Errored
Trigger: šŸŒŽ API
Queued: 6/1/2025, 6:09:27 PM
Success: āŒ No
Start: 6/1/2025, 6:09:27 PM
End: 6/1/2025, 6:09:29 PM
Duration: 2 seconds
Error: Error: internal error; reference = aikpl4dhi40oquqq9s0d32pt
ā›…ļø wrangler 4.18.0
───────────────────
Describing latest instance:
Workflow Name: workflows-starter
Instance Id: 65264634-4e4e-40e8-ac61-630102bcf4d5
Version Id: 791839c4-3be6-42d1-880c-3befc994cf23
Status: āŒ Errored
Trigger: šŸŒŽ API
Queued: 6/1/2025, 6:09:27 PM
Success: āŒ No
Start: 6/1/2025, 6:09:27 PM
End: 6/1/2025, 6:09:29 PM
Duration: 2 seconds
Error: Error: internal error; reference = aikpl4dhi40oquqq9s0d32pt
Following the get started guide so no code changes also just noticed that template template has package-lock.json despite pnpm set https://github.com/cloudflare/workflows-starter/blob/main/package.json#L13 I've also tried: * removing packageLock pnpm requirement * one click deploy * using wrangler 4.6.0 * removing pnpm overrides with no luck
avenceslau
avenceslau•3mo ago
Can you use the starter again, and change the name to something else like foo, deploy it and trigger it?
{
"name": "foo",
"main": "src/index.ts",
"compatibility_date": "2024-10-22",

"observability": {
"enabled": true,
"head_sampling_rate": 1,
},
"workflows": [
{

"name": "workflows-starter",
"binding": "MY_WORKFLOW",
"class_name": "MyWorkflow",
},
],
}
{
"name": "foo",
"main": "src/index.ts",
"compatibility_date": "2024-10-22",

"observability": {
"enabled": true,
"head_sampling_rate": 1,
},
"workflows": [
{

"name": "workflows-starter",
"binding": "MY_WORKFLOW",
"class_name": "MyWorkflow",
},
],
}
Your wrangler.jsonc should be similar to this @darkpool Can you try this and get back to me? Also, have you ever deleted the worker script for workflows-starter?
darkpool
darkpoolOP•3mo ago
ok trying now and yes I delete the script each time
avenceslau
avenceslau•3mo ago
How are you doing that?
Unknown User
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
darkpool
darkpoolOP•3mo ago
I run npx wranger delete and then make sure the workflow is also deleted on the dashboard /workers/workflows testing new script name now. this worked! thank you very much
Unknown User
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
darkpool
darkpoolOP•3mo ago
yes. that's my end goal. bad idea?
Unknown User
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
darkpool
darkpoolOP•3mo ago
got it thanks! When you say it's not supported officially does that mean it's not possible to get it working no matter what? I got RPC working even though it's not documented or mentioned anywhere. project still in early prototype phase so im 100% fine with errors and edge cases ok so is it like a CF level block that's happening? also no worries about any trouble. thanks for helping me with this on a sunday and sorry I didnt specify I previously tried it with WFP
Unknown User
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
darkpool
darkpoolOP•3mo ago
thank you for the clarification. have a good rest of your night Hi @celso I was wondering if there was anything you can share yet on WFP support. Thanks!

Did you find this page helpful?