Marc
Marc
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
Okay I think that fixed it! Thank you so much for helping to diagnose that. Would've struggled to find that. Long story short the data we were passing into the workflow was slowly growing which is why it seemed to happen out of nowhere. Obviously my only feedback is to make the error more descript
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
I'll try it and let you know if that fixes it
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
I could just pass an ID and have it load it up on the other side (inside the workflow)
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
Let me check, but it could be quite large
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
Ahhh that could be it
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
Thanks @Seekerdasbatatas. Happy to DM you full code if you think it would help
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
Here's also a request ID from when it failed. Not sure if that's useful to your team: 92cae32bc7c1e5f0
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
No description
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
Here's the wrangler output showing that it seems to be all good
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
No description
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
Here's the top part of the workflow:
export class HubSpotLinkedInEnricherWorkflow extends WorkflowEntrypoint<Env, HubSpotEnrichParams> {
async run(event: WorkflowEvent<HubSpotEnrichParams>, step: WorkflowStep) {
export class HubSpotLinkedInEnricherWorkflow extends WorkflowEntrypoint<Env, HubSpotEnrichParams> {
async run(event: WorkflowEvent<HubSpotEnrichParams>, step: WorkflowStep) {
I can give the whole thing if needed
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
main = "src/index.ts"
compatibility_date = "2025-02-28"
compatibility_flags = [ "nodejs_compat_v2", "nodejs_compat_populate_process_env"]
workers_dev = false
dev.port = 5142


[vars]


[observability]
enabled = true
logs = {invocation_logs = false}

[placement]
mode = "smart"

[[services]]
binding = "GATEKEEP"
service = "gatekeep"
entrypoint = "Gatekeeper"

[[workflows]]
name = "hubspot-linkedin-enricher-workflow"
binding = "HUBSPOT_LINKEDIN_ENRICHER"
class_name = "HubSpotLinkedInEnricherWorkflow"
main = "src/index.ts"
compatibility_date = "2025-02-28"
compatibility_flags = [ "nodejs_compat_v2", "nodejs_compat_populate_process_env"]
workers_dev = false
dev.port = 5142


[vars]


[observability]
enabled = true
logs = {invocation_logs = false}

[placement]
mode = "smart"

[[services]]
binding = "GATEKEEP"
service = "gatekeep"
entrypoint = "Gatekeeper"

[[workflows]]
name = "hubspot-linkedin-enricher-workflow"
binding = "HUBSPOT_LINKEDIN_ENRICHER"
class_name = "HubSpotLinkedInEnricherWorkflow"
Here's the wrangler.toml. I have wiped a few fields like name and vars for secruity but I can add them back if need be
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
I'll hate myself if that's the case haha
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
Yup one second
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
Yeah happy to. The output from wrangler on upload looks correct
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
Account ID: 3e932c8878a8bf3d2a3f619cc6adda70
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
Also changing the name of the Workflow and updating the binding has not helped
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
Also adding that when I delete the binding all together I get:
TypeError: Cannot read properties of undefined (reading 'create') {}
TypeError: Cannot read properties of undefined (reading 'create') {}
28 replies
CDCloudflare Developers
Created by Marc on 4/4/2025 in #workflows
Suddenly whenever my worker invokes my
I tried deleting the worker and recreating it to see if that helped. It did not. Still not working....
28 replies