Errors
Fix common mistakes when creating and executing workflows.
Fix common mistakes when creating and executing workflows in the Workflow SDK.
corrupted-event-log
The workflow's event log contains an event that no consumer can process, indicating corruption or invalid state.
fetch-in-workflow
Use the workflow fetch step function instead of global fetch in workflows.
hook-conflict
Hook tokens must be unique across all running workflows in your project.
node-js-module-in-workflow
Move Node.js core module usage to step functions instead of workflows.
replay-divergence
A workflow replay temporarily followed a path that did not match its recorded events.
runtime-decryption-failed
The SDK's built-in AES-GCM encryption layer failed to encrypt or decrypt a workflow payload.
serialization-failed
Ensure all data passed between workflow and step functions is serializable.
start-invalid-workflow-function
The function passed to start() must be a transformed workflow function.
Step executed multiple times
A step ran more than once because its function invocation crashed before it could report a result.
step-not-registered
A step function is not registered in the current deployment.
timeout-in-workflow
Use the sleep function instead of setTimeout or setInterval in workflows.
webhook-invalid-respond-with-value
The respondWith option must be "manual" or a Response object.
webhook-response-not-sent
Manual webhooks must send a response before execution completes.
workflow-not-registered
A workflow function is not registered in the current deployment.
Learn More
- API Reference - Complete API documentation
- Foundations - Architecture and core concepts
- Examples - Sample implementations
- GitHub Issues - Report bugs and request features