I have workflow working locally and I
I have workflow working locally and I see the binding working on remote, but when I try to trigger it via worker I am seeing TypeError: Cannot read properties of undefined (reading 'create')
c.env.COVE_WORKFLOW_VIDEO.create({
I think it is saying that the actual workflow is not bound.
below is the hono api call that triggers it
9 Replies
Is there another way to see if this binding is correct?

Also I can manually kick of the actual workflow successfully, I just can't seem to find out why the binding doesn't work in prod 😦

Added. I tried it as a service binding as well and both won't work once deployed. No issues local.
Is this enough for that, not sure if it also has something to do with the wrangler dates?
@skye sorry for the delay
c46bd0f3b9ed47b8692cca098030edbf
Can you show the setup of the app itself?
1. Are you passing the env into the app? Looks like Hono, so I would expect
const app = new Hono<{Bindings: Env }>()
2. If you log c.env
- what do you get? Log it in a middleware.
I would expect - when you upload - that you also see the bindings emitted:
I am actively working on more updats so bare with me but the workflows are listed in there...
COVE_WORKFLOW_VIDEO_UPLOAD_STREAM
Yes when I upload I am seeing..
Your code has
COVE_WORKFLOW_VIDEO
but your bindings don’t show that?