Documentation Index
Fetch the complete documentation index at: https://docs.dify.ai/llms.txt
Use this file to discover all available pages before exploring further.
Each node type throws specific error classes that help you understand what went wrong and how to fix it.
Node-specific errors
Code
LLM
HTTP Request
Tool
CodeNodeError
Your Python or JavaScript code threw an exception during execution
OutputValidationError
The data type your code returned doesn’t match the output variable type you configured
DepthLimitError
Your code created nested data structures deeper than 5 levels
CodeExecutionError
The sandbox service couldn’t execute your code - usually means the service is down
VariableNotFoundError
Your prompt template references a variable that doesn’t exist in the workflow context
InvalidContextStructureError
You passed an array or object to the context field, which only accepts strings
NoPromptFoundError
The prompt field is completely empty
ModelNotExistError
No model is selected in the LLM node configuration
LLMModeRequiredError
The selected model doesn’t have valid API credentials configured
InvalidVariableTypeError
Your prompt template isn’t valid Jinja2 syntax or plain text format
AuthorizationConfigError
Missing or invalid authentication configuration for the API endpoint
InvalidHttpMethodError
HTTP method must be GET, HEAD, POST, PUT, PATCH, or DELETE
ResponseSizeError
API response exceeded the 10MB size limit
FileFetchError
Couldn’t retrieve a file variable referenced in the request
InvalidURLError
The URL format is malformed or unreachable
ToolParameterError
Parameters passed to the tool don’t match its expected schema
ToolFileError
The tool couldn’t access required files
ToolInvokeError
The external tool API returned an error during execution
ToolProviderNotFoundError
The tool provider isn’t installed or configured properly
System-level errors
InvokeConnectionError
Network connection failed to the external service
InvokeServerUnavailableError
External service returned a 503 status or is temporarily down
InvokeRateLimitError
You’ve hit rate limits on the API or model provider
QuotaExceededError
Your usage quota has been exceeded for this service