Skip to main content
This page covers all error conditions you may encounter when integrating FlowDrop: mount exceptions, API errors during operation, and Agent Spec validation failures.

Mount API exceptions

mountFlowDropApp() throws synchronously if the mount cannot proceed.

API error handling

FlowDrop calls your REST API during normal operation. Use the onApiError event handler to intercept these errors.

HTTP status codes

operation values

The operation argument tells you what FlowDrop was doing when the error occurred:

Save errors

onSaveError is a separate handler called when a save operation fails. It receives the workflow object that failed to save, allowing you to recover or retry.

Agent Spec validation errors

When exporting a workflow to Agent Spec format via WorkflowOperationsHelper.exportAsAgentSpec(), the result object indicates success or failure:

Common validation errors

Warnings (non-fatal) indicate information that may be lost in the export, such as FlowDrop-specific configuration fields that have no Agent Spec equivalent.